# HG changeset patch # User Pierre-Yves David # Date 1344273390 -7200 # Node ID 9720ac97445f7bbec2e5d07615a3a2f0822680bf # Parent 8ae4f8bb24d5c678cce2ff208d4ec3c2565d82d1 enable: update check to ensure people use 2.3 diff -r 8ae4f8bb24d5 -r 9720ac97445f 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