Mercurial > hgsubversion
diff tools/common.sh @ 388:5071b8511572
tools: Fixes for verification that seemed to be needed.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 01 Jun 2009 11:10:32 -0500 |
parents | 52cc0982dfcd |
children |
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: //'` -r`hg svn info | grep ^Revision | sed 's/.*: //;s/ .*//'` . --force" + exportcmd="svn export `hg svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'`@`hg svn info | grep ^Revision | sed 's/.*: //;s/ .*//'` . --force" `echo $exportcmd` > /dev/null x=$? if [[ "$x" != "0" ]] ; then