304 """ |
304 """ |
305 msg = vcsDataDict["message"] |
305 msg = vcsDataDict["message"] |
306 if not msg: |
306 if not msg: |
307 msg = '***' |
307 msg = '***' |
308 |
308 |
|
309 # TODO: hg init has to be run with the hg command line client |
309 args = self.initCommand("init") |
310 args = self.initCommand("init") |
310 args.append(projectDir) |
311 args.append(projectDir) |
311 # init is not possible with the command server |
312 # init is not possible with the command server |
312 dia = HgDialog(self.tr('Creating Mercurial repository'), self) |
313 dia = HgDialog(self.tr('Creating Mercurial repository'), self) |
313 res = dia.startProcess(args) |
314 res = dia.startProcess(args) |