Mercurial > evolve
changeset 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 | 8ae4f8bb24d5 |
children | b86e062f2335 |
files | enable.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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