Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py

changeset 3302
e92f0dd51979
parent 3190
a9a94491c4fd
child 3397
6a3728826bc3
--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py	Sun Feb 23 15:24:28 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py	Sun Feb 23 19:20:43 2014 +0100
@@ -112,8 +112,7 @@
         else:
             self.__mode = "qseries"
         
-        args = []
-        args.append('qseries')
+        args = self.vcs.initCommand("qseries")
         args.append('--summary')
         args.append('--verbose')
         if missing:
@@ -164,8 +163,7 @@
         """
         self.__mode = "qtop"
         
-        args = []
-        args.append('qtop')
+        args = self.vcs.initCommand("qtop")
         
         if self.__hgClient:
             self.inputGroup.setEnabled(False)
@@ -338,8 +336,7 @@
         self.process.setReadChannel(QProcess.StandardOutput)
         
         while self.process.canReadLine():
-            s = str(self.process.readLine(),
-                    Preferences.getSystem("IOEncoding"),
+            s = str(self.process.readLine(), self.vcs.getEncoding(),
                     'replace').strip()
             self.__processOutputLine(s)
     
@@ -376,8 +373,7 @@
         """
         if self.process is not None:
             s = str(self.process.readAllStandardError(),
-                    Preferences.getSystem("IOEncoding"),
-                    'replace')
+                    self.vcs.getEncoding(), 'replace')
             self.__showError(s)
     
     def __showError(self, out):

eric ide

mercurial