changeset 1194:26c630b5f91d

Use node|short instead of rev. 2008-11-07 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: Use 'node|short' instead of 'rev' for Mercurial revision number.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Fri, 07 Nov 2008 14:48:58 +0000
parents cb1f68e8019a
children df4bef3a43ee
files ChangeLog Makefile.am
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Nov 07 13:54:54 2008 +0100
+++ b/ChangeLog	Fri Nov 07 14:48:58 2008 +0000
@@ -1,3 +1,8 @@
+2008-11-07  Andrew John Hughes  <ahughes@redhat.com>
+
+	* Makefile.am: Use 'node|short' instead of 'rev'
+	for Mercurial revision number.
+	
 2008-10-29  Mark Wielaard  <mark@klomp.org>
 
 	* patches/icedtea-6761856-freetypescaler.patch: New patch.
--- a/Makefile.am	Fri Nov 07 13:54:54 2008 +0100
+++ b/Makefile.am	Fri Nov 07 14:48:58 2008 +0000
@@ -642,7 +642,7 @@
 	fi
 
 	if [ -e $(abs_top_srcdir)/.hg ] && which $(HG) >/dev/null; then \
-	  revision="-r`(cd $(abs_top_srcdir); $(HG) tip --template '{rev}')`" ; \
+	  revision="-r`(cd $(abs_top_srcdir); $(HG) tip --template '{node|short}')`" ; \
 	fi ; \
 	icedtea_version="$(PACKAGE_VERSION)$${revision}" ; \
 	if [ -n "$(PKGVERSION)" ]; then \