diff hgext/evolve.py @ 1192:a556fff7adcf

merge with stable
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 05 Jan 2015 19:04:32 -0800
parents 253293df84a6 583f7f03434b
children de73285cf504
line wrap: on
line diff
--- a/hgext/evolve.py	Sun Dec 14 12:19:40 2014 -0800
+++ b/hgext/evolve.py	Mon Jan 05 19:04:32 2015 -0800
@@ -19,7 +19,7 @@
     - improves some aspect of the early implementation in Mercurial core
 '''
 
-__version__ = '5.0.1'
+__version__ = '5.0.2'
 testedwith = '3.2'
 buglink = 'http://bz.selenic.com/'
 
@@ -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