Move CVS check earlier as hg can appear in one of the parent dirs.
This commit is contained in:
parent
bc9441e2a7
commit
78c5e79e70
@ -57,11 +57,11 @@ find_repo() {
|
|||||||
if svn info >/dev/null 2>&1; then
|
if svn info >/dev/null 2>&1; then
|
||||||
SC_VCS=svn
|
SC_VCS=svn
|
||||||
SC_WANT_CHANGELOG=1
|
SC_WANT_CHANGELOG=1
|
||||||
elif hg tip >/dev/null 2>&1; then
|
|
||||||
SC_VCS=hg
|
|
||||||
elif cvs status -l >/dev/null 2>&1; then
|
elif cvs status -l >/dev/null 2>&1; then
|
||||||
SC_VCS=cvs
|
SC_VCS=cvs
|
||||||
SC_WANT_CHANGELOG=1
|
SC_WANT_CHANGELOG=1
|
||||||
|
elif hg tip >/dev/null 2>&1; then
|
||||||
|
SC_VCS=hg
|
||||||
else
|
else
|
||||||
local remotes ret
|
local remotes ret
|
||||||
remotes=$(git branch -r 2>/dev/null)
|
remotes=$(git branch -r 2>/dev/null)
|
||||||
|
Loading…
Reference in New Issue
Block a user