Commits

André Sintzoff committed 3aacc51

settings: fix phase support detection

Comments (0)

Files changed (1)

tortoisehg/hgqt/settings.py

 
 # Detect if hg >= 2.1
 def phasesSupport():
-    import commands
+    from mercurial import commands
     return hasattr(commands, 'phase')
 
 class SettingsCombo(QComboBox):