hgext/evolve.py
branchstable
changeset 1191 583f7f03434b
parent 1189 dbd0733e5840
child 1192 a556fff7adcf
child 1194 aa7cdd9d7310
--- a/hgext/evolve.py	Sun Dec 14 12:45:04 2014 -0800
+++ b/hgext/evolve.py	Tue Dec 23 14:29:16 2014 -0600
@@ -85,8 +85,7 @@
     def memfilectx(repo, *args, **kwargs):
         return oldmemfilectx(*args, **kwargs)
 else:
-    raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
-                     'requires version %s or above' % min(testedwith.split()))
+    raise ImportError('evolve needs version %s or above' % min(testedwith.split()))
 
 
 # This extension contains the following code