share repo branches backup and multi-push
checker at d6.com
Thu May 23 04:18:08 UTC 2013
Yeah, these are already no-trees, it was just whether I need the .bzr
dirs in the branch, and it looks like I do.
Are there no tools for looking into the content of a shared repo without
refering to braches?
On 2013-05-22 18:30, Stephen J. Turnbull wrote:
> Chris Hecker writes:
> > 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.
> I think the .bzr directories in the branch directories are what keeps
> the branch configurations. It's possible to tell bzr not to check out
> source trees in the branch directories, but you need the metadata in
> all those branch .bzrs.
> If you know the format of .bzr for a branch it's probably not life-
> threateningly tedious to recreate enough of the information to extract
> checkouts from the repo, but I would just convert your repo to
> --no-trees format. The easy way that might take a few hours is to do
> an init-repo --no-trees in a new location, and start pushing all the
> branches to it, but it's probably possible to do this in-place.
More information about the bazaar