When testing for an hg repo, use a file that always exists, even with the "shared" extension

This commit is contained in:
Antoine Pitrou 2011-07-27 01:16:18 +02:00
parent 2a20f9be70
commit 5cd3e305e3
2 changed files with 312 additions and 289 deletions

599
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -833,7 +833,7 @@ AC_SUBST(HGVERSION)
AC_SUBST(HGTAG)
AC_SUBST(HGBRANCH)
if test -e $srcdir/.hg/00changelog.i
if test -e $srcdir/.hg/dirstate
then
AC_CHECK_PROG(HAS_HG, hg, found, not-found)
else