Can I use a heavyweight checkout to build a new repo?

Max Bowsher _ at maxb.eu
Mon Aug 6 22:08:25 UTC 2012


On 06/08/12 22:39, Carlos Mundi wrote:
> Suppose I accidentally destroyed a repo.  And suppose no backup is
> conveniently within reach.  But I do have a heavyweight checkout, which
> should have all of the information since the last time the checout was
> updated from the repo.  Is there a way to populate a new repo from the
> checkout and preserve all of the history that the checkout knows?

Try 'bzr push <destination>' to transfer a copy of the local data to a
new branch-and-repo elsewhere, and 'bzr unbind' to tell the checkout to
remove its association with the destroyed remote branch, becoming a
standalone branch itself.

Max.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120806/e1f98d2e/attachment.pgp>


More information about the bazaar mailing list