Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py

changeset 3302
e92f0dd51979
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
--- a/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py	Sun Feb 23 15:24:28 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py	Sun Feb 23 19:20:43 2014 +0100
@@ -80,8 +80,7 @@
         if rev is not None:
             if rev == "":
                 rev = "tip"
-            args = []
-            args.append("sigcheck")
+            args = self.vcs.initCommand("sigcheck")
             args.append(rev)
             
             dia = HgDialog(self.tr('Verify Signatures'), self.vcs)
@@ -115,8 +114,7 @@
         if dlg.exec_() == QDialog.Accepted:
             revision, noCommit, message, keyId, local, force = dlg.getData()
             
-            args = []
-            args.append("sign")
+            args = self.vcs.initCommand("sign")
             if noCommit:
                 args.append("--no-commit")
             if message:

eric ide

mercurial