Plugins/VcsPlugins/vcsMercurial/TransplantExtension/transplant.py

changeset 3302
e92f0dd51979
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
--- a/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/transplant.py	Sun Feb 23 15:24:28 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/transplant.py	Sun Feb 23 19:20:43 2014 +0100
@@ -48,8 +48,7 @@
             revs, sourceRepo, branch, all, pruneRevs, mergeRevs, log = \
                 dlg.getData()
             
-            args = []
-            args.append("transplant")
+            args = self.vcs.initCommand("transplant")
             args.append("--verbose")
             if sourceRepo:
                 args.append("--source")
@@ -91,8 +90,7 @@
             if os.path.splitdrive(repodir)[1] == os.sep:
                 return
         
-        args = []
-        args.append("transplant")
+        args = self.vcs.initCommand("transplant")
         args.append("--continue")
         args.append("--verbose")
         

eric ide

mercurial