jenkinsci/bazaar-plugin — pull request #8 by stewartsmith (2012-06-28 01:34:25+00:00)
Title: Auto-recover on corrupted bzr repo

On failing to branch a tree, assume that BZR has had a problem due
to not being crash safe in all situations (e.g. cancelling a build during
initial checkout) and wipe the tree and start again.

We've tested this pretty heavily at Percona and before this patch we pretty
much *had* to have "clean workspace" enabled (or clean the workspace very,
very often). With this patch, we have not had to do so ever again.