Mercurial > evolve
changeset 207:15a89eeff66f
fix enable.sh script
it was printing the mercurial version in to HGRC file
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 23 Apr 2012 15:14:51 +0200 |
parents | 80f602e6ae8a |
children | 05d6e3e36980 |
files | enable.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/enable.sh Mon Apr 23 15:03:33 2012 +0200 +++ b/enable.sh Mon Apr 23 15:14:51 2012 +0200 @@ -3,7 +3,7 @@ here=`readlink -f "$0"` repo_root=`dirname "$here"` -if !( hg --version -q | grep -e 'version 2\.[1-9]' ); then +if !( hg --version -q | grep -qe 'version 2\.[1-9]' ); then echo 'You need mercurial 2.1 or later' >&2 exit 2 fi