share repo branches backup and multi-push

Chris Hecker checker at d6.com
Wed May 22 20:06:07 UTC 2013


Hmm, now that I'm actually trying, I can't get any information out of 
just a plain old raw shared repository .bzr without any branches under 
it.  This implies you can log one to see the revisions, but that doesn't 
appear to be true if there are no branch directories under it:

http://stackoverflow.com/a/7271429

The data is obviously there, but I don't know how to get to it.

Thanks,
Chris

On 2013-05-22 12:48, Chris Hecker wrote:
>
> 1.  What's the right way to back up a shared repo with a few branches
> under it?  I've been just archiving the repo .bzr directory, but then I
> got worried there was information in the branches that wasn't
> recoverable without them, but then I found bzr head --tips, which seems
> to correspond to the branches exactly?  Hmm, no, wait, if I unarchive
> the .bzr into a directory that doesn't have the branches in it, then bzr
> heads --tips doesn't actually print anything.  So, can I recover the
> branches from just the .bzr directory of the shared repo?  Do I need to
> archive all the branch .bzr dirs too?
>
> 2.  I asked a while back about "multi-push" to complement multi-pull.
> There isn't one, and I could write one, but from searching it also seems
> like there are a few other old plugins, like repo-push, and mirror.  I
> have a directory that has a few shared repos below it, which each have
> some branches below them.  I'd like to push them all recursively. What's
> the best bet for this?
>
> Thanks,
> Chris



More information about the bazaar mailing list