evolve: update version compatibility error message
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 10 Mar 2014 16:27:21 -0700
changeset 871 66bbbb96f5e0
parent 870 1a23c7c52a43
child 872 2a2db401a55b
evolve: update version compatibility error message
hgext/evolve.py
--- a/hgext/evolve.py	Fri Mar 07 14:46:45 2014 -0800
+++ b/hgext/evolve.py	Mon Mar 10 16:27:21 2014 -0700
@@ -19,7 +19,7 @@
     - improves some aspect of the early implementation in 2.3
 '''
 
-testedwith = '2.7 2.7.1 2.7.2 2.8 2.8.1'
+testedwith = 'default'
 buglink = 'https://bitbucket.org/marmoute/mutable-history/issues'
 
 import sys
@@ -34,11 +34,11 @@
     from mercurial import obsolete
     if not obsolete._enabled:
         obsolete._enabled = True
-    from mercurial import bookmarks
-    bookmarks.bmstore
+    from mercurial import exchange
+    exchange.pull
 except (ImportError, AttributeError):
-    raise util.Abort('Your Mercurial is too old for this version of Evolve',
-                     hint='requires version >> 2.4.x')
+    raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
+                     'requires version >> 2.9.x')