332 ignoreName = os.path.join(projectDir, Hg.IgnoreFileName) |
332 ignoreName = os.path.join(projectDir, Hg.IgnoreFileName) |
333 if not os.path.exists(ignoreName): |
333 if not os.path.exists(ignoreName): |
334 status = self.hgCreateIgnoreFile(projectDir) |
334 status = self.hgCreateIgnoreFile(projectDir) |
335 |
335 |
336 if status: |
336 if status: |
337 args = self.vcs.initCommand("commit") |
337 args = self.initCommand("commit") |
338 args.append('--addremove') |
338 args.append('--addremove') |
339 args.append('--message') |
339 args.append('--message') |
340 args.append(msg) |
340 args.append(msg) |
341 dia = HgDialog( |
341 dia = HgDialog( |
342 self.tr('Initial commit to Mercurial repository'), |
342 self.tr('Initial commit to Mercurial repository'), |