diff tools/common.sh @ 259:52cc0982dfcd

Fix the verify script which broke because of the change in parent.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Apr 2009 22:42:50 -0500
parents 3c87de482011
children 5071b8511572
line wrap: on
line diff
--- a/tools/common.sh
+++ b/tools/common.sh
@@ -1,7 +1,7 @@
 function verify_current_revision()
 {
     /bin/rm -rf *
-    exportcmd="svn export `hg svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` -`hg svn parent | sed 's/.*: //;s/ .*//'` . --force"
+    exportcmd="svn export `hg svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` -r`hg svn info | grep ^Revision | sed 's/.*: //;s/ .*//'` . --force"
     `echo $exportcmd` > /dev/null
     x=$?
     if [[ "$x" != "0" ]] ; then