Move CVS check earlier as hg can appear in one of the parent dirs.

This commit is contained in:
Michał Górny 2010-11-07 09:10:51 +01:00
parent bc9441e2a7
commit 78c5e79e70

View File

@ -57,11 +57,11 @@ find_repo() {
if svn info >/dev/null 2>&1; then
SC_VCS=svn
SC_WANT_CHANGELOG=1
elif hg tip >/dev/null 2>&1; then
SC_VCS=hg
elif cvs status -l >/dev/null 2>&1; then
SC_VCS=cvs
SC_WANT_CHANGELOG=1
elif hg tip >/dev/null 2>&1; then
SC_VCS=hg
else
local remotes ret
remotes=$(git branch -r 2>/dev/null)