changeset 73:c44e16dbb0e2

hg no longer accepts '#' in a template
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 18 Nov 2009 13:12:44 +0900
parents c9b41c438a93
children b6607f6e2851 ec7c87854f2f
files recpt1/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/recpt1/Makefile	Thu Nov 12 20:19:05 2009 +0900
+++ b/recpt1/Makefile	Wed Nov 18 13:12:44 2009 +0900
@@ -26,7 +26,7 @@
 	$(CC) -MM $(OBJS:.o=.c) $(CPPFLAGS) > $@
 
 version.h:
-	revh=`hg parents --template 'const char *version = "r#rev#:#node|short# (#date|isodate#)";\n' 2>/dev/null`; \
+	revh=`hg parents --template 'const char *version = "r{rev}:{node|short} ({date|isodate})";\n' 2>/dev/null`; \
 	if [ -n "$$revh" ] ; then \
 		echo "$$revh" > $@; \
 	else \