Mercurial > hgsubversion
view tools/bisect-find-bad.sh @ 295:aacc8cf83e13
Ensure proper handling of nested tag paths by sorting and reversing them.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Thu, 26 Mar 2009 16:37:35 +0100 |
parents | de3807ceea5c |
children | b1d2ea765516 |
line wrap: on
line source
#!/bin/bash /bin/rm -rf * svn export `hg svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` -`hg svn parent | sed 's/.*: //;s/ .*//'` . --force if [ `hg st | wc -l` = 0 ] ; then exit 0 else hg revert --all hg purge exit 1 fi