When testing for an hg repo, use a file that always exists, even with the "shared" extension
This commit is contained in:
parent
2a20f9be70
commit
5cd3e305e3
|
@ -833,7 +833,7 @@ AC_SUBST(HGVERSION)
|
||||||
AC_SUBST(HGTAG)
|
AC_SUBST(HGTAG)
|
||||||
AC_SUBST(HGBRANCH)
|
AC_SUBST(HGBRANCH)
|
||||||
|
|
||||||
if test -e $srcdir/.hg/00changelog.i
|
if test -e $srcdir/.hg/dirstate
|
||||||
then
|
then
|
||||||
AC_CHECK_PROG(HAS_HG, hg, found, not-found)
|
AC_CHECK_PROG(HAS_HG, hg, found, not-found)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue