diff -r 3a359afecc10 -r 1b6054a9b668 Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py --- 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)