diff options
author | Omair Majid <[email protected]> | 2011-03-07 14:48:01 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-03-07 14:48:01 -0500 |
commit | 3626af6c2e36aa74e5347ada4f99e9fca40ccaeb (patch) | |
tree | 47640f46b12cd6878764f9ef2281f2c6723076b9 /acinclude.m4 | |
parent | ee39d7bc6f44502bd7b833da8189cdca9c1c7c70 (diff) |
Fix mercurial version detection
This is pretty much identical to PR497: Mercurial revision detection not very
reliable.
2011-03-07 Omair Majid <[email protected]>
* NEWS: Update.
* acinclude.m4 (IT_OBTAIN_HG_REVISIONS): Use hg id instead of hg tip.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index cd80f62..a964ab2 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -410,7 +410,7 @@ AC_DEFUN_ONCE([IT_OBTAIN_HG_REVISIONS], if which ${HG} >&AS_MESSAGE_LOG_FD 2>&1; then AC_MSG_CHECKING([for IcedTea Mercurial revision ID]) if test -e ${abs_top_srcdir}/.hg ; then - ICEDTEA_REVISION="r`(cd ${abs_top_srcdir}; ${HG} tip --template '{node|short}')`" ; + ICEDTEA_REVISION="r`(cd ${abs_top_srcdir}; ${HG} id -i)`" ; fi ; AC_MSG_RESULT([${ICEDTEA_REVISION}]) AC_SUBST([ICEDTEA_REVISION]) |