Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

changeset 1263
1b6054a9b668
parent 1093
47bc4ef30315
child 1267
5eddb59304c7
--- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Thu Sep 01 09:11:23 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Thu Sep 01 09:25:05 2011 +0200
@@ -934,7 +934,7 @@
         menu.addAction(self.vcsTagAct)
         menu.addAction(self.hgTagListAct)
         menu.addAction(self.hgBranchAct)
-        if self.vcs.versionStr >= '1.6.0':
+        if self.vcs.version >= (1, 6):
             menu.addAction(self.hgPushBranchAct)
         menu.addAction(self.hgCloseBranchAct)
         menu.addAction(self.hgBranchListAct)

eric ide

mercurial