changeset 871:66bbbb96f5e0

evolve: update version compatibility error message
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 10 Mar 2014 16:27:21 -0700
parents 1a23c7c52a43
children 2a2db401a55b
files hgext/evolve.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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')