Commits

Adrian Buehlmann committed badf7a7

mercurial.util.main_is_frozen was renamed to mainfrozen

Comments (0)

Files changed (1)

hgext/fixfrozenexts.py

     else:
         return _('(no help text available)')
 
+def _mainfrozen():
+    if hasattr(util, 'mainfrozen'):
+        return util.mainfrozen()
+    else:
+        return util.main_is_frozen()
+
 def extsetup():
-    if not util.main_is_frozen():
+    if not _mainfrozen():
         return
 
     for e in ('_disabledpaths', '_disabledhelp'):