Makefile.am

changeset 33033
94483eea146c
parent 24811
19c97edbbdbd
child 33035
5b5516d9a5db
--- a/Makefile.am	Wed Nov 26 23:02:41 2008 +0000
+++ b/Makefile.am	Wed Jun 13 19:28:36 2012 -0400
@@ -57,9 +57,9 @@
 	head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null
 
 # Ensure we're working from a tag...
-	test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id`
-# ... and have no changes in the working copy.
-	test "x`mtn diff | grep -v '^#'`" = x
+	test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg id -i --debug`
+# ... and have no changes in the working copy. (this isn't really necessary with hg because hg id appends a "+")
+	test "x`hg st -mard`" = x
 
 release: version-check distcheck packages
 

mercurial