46 dlg = TransplantDialog(self.vcs.hgGetBranchesList(repodir)) |
46 dlg = TransplantDialog(self.vcs.hgGetBranchesList(repodir)) |
47 if dlg.exec_() == QDialog.Accepted: |
47 if dlg.exec_() == QDialog.Accepted: |
48 revs, sourceRepo, branch, all, pruneRevs, mergeRevs, log = \ |
48 revs, sourceRepo, branch, all, pruneRevs, mergeRevs, log = \ |
49 dlg.getData() |
49 dlg.getData() |
50 |
50 |
51 args = [] |
51 args = self.vcs.initCommand("transplant") |
52 args.append("transplant") |
|
53 args.append("--verbose") |
52 args.append("--verbose") |
54 if sourceRepo: |
53 if sourceRepo: |
55 args.append("--source") |
54 args.append("--source") |
56 args.append(sourceRepo) |
55 args.append(sourceRepo) |
57 if branch: |
56 if branch: |
89 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |
88 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |
90 repodir = os.path.dirname(repodir) |
89 repodir = os.path.dirname(repodir) |
91 if os.path.splitdrive(repodir)[1] == os.sep: |
90 if os.path.splitdrive(repodir)[1] == os.sep: |
92 return |
91 return |
93 |
92 |
94 args = [] |
93 args = self.vcs.initCommand("transplant") |
95 args.append("transplant") |
|
96 args.append("--continue") |
94 args.append("--continue") |
97 args.append("--verbose") |
95 args.append("--verbose") |
98 |
96 |
99 dia = HgDialog( |
97 dia = HgDialog( |
100 self.tr('Transplant Changesets (Continue)'), self.vcs) |
98 self.tr('Transplant Changesets (Continue)'), self.vcs) |