1. Pierre-Yves David
  2. mutable-history

Commits

Pierre-Yves David  committed fdf3ae4

Fix mercurial version check

  • Participants
  • Parent commits 595ae87
  • Branches default

Comments (0)

Files changed (1)

File hgext/obsolete.py

View file
  • Ignore whitespace
 
 try:
     from mercurial import obsolete
-    obsolete._enabled = True
+    if not obsolete._enabled:
+        obsolete._enabled = True
 except ImportError:
     raise util.Abort('Obsolete extension requires Mercurial 2.3 (or later)')