Recipe to remove revisions incorrectly pulled by 0.7rc2

Andrew Bennetts andrew at canonical.com
Fri Jan 20 04:51:31 GMT 2006


for name in $(bzr check 2>&1 | grep "Stored revisions missing" | sed -e 's/.*{\(.*\)}.*/\1/p' -e 's/,/ /g') ; do rm .bzr/revision-store/*/"$name" ; done

Your mileage may vary...

Thanks to Robert Collins for helping me with this.

-Andrew.





More information about the bazaar mailing list