Mercurial > hg > mutable-history
diff enable.sh @ 424:9720ac97445f
enable: update check to ensure people use 2.3
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 06 Aug 2012 19:16:30 +0200 |
parents | 616305c63510 |
children | 52b5e14c63d5 |
line wrap: on
line diff
--- a/enable.sh +++ b/enable.sh @@ -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