changeset 940:0523c7c63759

evolve: update the errors message to request mercurial 3.0 and above And update the checking code too. This extension already requires 3.0 for some time.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 19 May 2014 17:45:28 -0700
parents d46ef45810e4
children 576d3a198269
files hgext/evolve.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/evolve.py	Mon May 19 12:44:30 2014 -0700
+++ b/hgext/evolve.py	Mon May 19 17:45:28 2014 -0700
@@ -34,11 +34,11 @@
     from mercurial import obsolete
     if not obsolete._enabled:
         obsolete._enabled = True
-    from mercurial import exchange
-    exchange.pull
+    from mercurial import bundle2
+    bundle2._
 except (ImportError, AttributeError):
     raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
-                     'requires version >> 2.9.x')
+                     'requires version >> 3.0.x')