Sharing repository across branches

Stefan Monnier monnier at iro.umontreal.ca
Mon Mar 31 21:01:17 BST 2008


> Well, ok, yes, just mv .bzr/repository will probably work fine.

Oh, good.

How 'bout putting a symlink in .bzr/repository?  Should it work (would
allow sharing repositories even between branches that don't have a good
parent dir to use for that purpose)?

>> > Would you like me to explain how to do this by hand?
>> Yes, please.
> Ok, so first you need to create the shared repository that you are
> going to end up with everything it

>   bzr init-repo temp
>   bzr branch wherever temp/wherever
>   rm wherever

But this is not "moving", it's "copy+delete".
The performance is completely different.


        Stefan



More information about the bazaar mailing list