47 if os.path.splitdrive(repodir)[1] == os.sep: |
47 if os.path.splitdrive(repodir)[1] == os.sep: |
48 return False |
48 return False |
49 |
49 |
50 from .HgHisteditConfigDialog import HgHisteditConfigDialog |
50 from .HgHisteditConfigDialog import HgHisteditConfigDialog |
51 res = False |
51 res = False |
52 dlg = HgHisteditConfigDialog(self.vcs.hgGetTagsList(repodir), |
52 dlg = HgHisteditConfigDialog(self.vcs.hgGetTagsList(), |
53 self.vcs.hgGetBranchesList(repodir), |
53 self.vcs.hgGetBranchesList(), |
54 self.vcs.hgGetBookmarksList(repodir), |
54 self.vcs.hgGetBookmarksList(), |
55 rev) |
55 rev) |
56 if dlg.exec() == QDialog.Accepted: |
56 if dlg.exec() == QDialog.Accepted: |
57 rev, force, keep = dlg.getData() |
57 rev, force, keep = dlg.getData() |
58 |
58 |
59 args = self.vcs.initCommand("histedit") |
59 args = self.vcs.initCommand("histedit") |