enable: update check to ensure people use 2.3
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 06 Aug 2012 19:16:30 +0200
changeset 424 9720ac97445f
parent 423 8ae4f8bb24d5
child 427 b86e062f2335
enable: update check to ensure people use 2.3
enable.sh
--- a/enable.sh	Mon Aug 06 17:02:38 2012 +0200
+++ b/enable.sh	Mon Aug 06 19:16:30 2012 +0200
@@ -3,8 +3,8 @@
 here=`python -c "import os; print os.path.realpath('$0')"`
 repo_root=`dirname "$here"`
 
-if !( hg --version -q | grep -qe 'version 2\.[2-9]' ); then
-    echo 'You need mercurial 2.2 or later' >&2
+if !( hg --version -q | grep -qe 'version 2\.[3-9]' ); then
+    echo 'You need mercurial 2.3 or later' >&2
     exit 2
 fi