remove a hg reference in install-rev
This commit is contained in:
parent
772f9756aa
commit
fe7e1fe089
|
@ -11,10 +11,7 @@ gmake --help >/dev/null 2>&1
|
||||||
|
|
||||||
# find root
|
# find root
|
||||||
cd `dirname $PWD/$0` ; cd ..
|
cd `dirname $PWD/$0` ; cd ..
|
||||||
if [ -d .hg ]; then
|
if [ -d .git ]; then
|
||||||
echo hg up -C -r "${REV}"
|
|
||||||
hg up -C -r "${REV}"
|
|
||||||
elif [ -d .git ]; then
|
|
||||||
echo git checkout "${REV}"
|
echo git checkout "${REV}"
|
||||||
git checkout "${REV}"
|
git checkout "${REV}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue