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.
--- 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')