Branch shared repositories

JP joris.putcuyps at skynet.be
Wed Jun 20 19:15:30 BST 2007


Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> JP wrote:
>> Hello
>>
>> I have converted an old cvs repository into a bzr shared repository with
>> lots of branches for every module.
>>
>> If I like to work on this code and need the whole tree and have to
>> branch every single module.
> 
> Why do you need this?  You should be able to just create a new branch
> within the shared repository.
> 
> Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGeWtg0F+nu1YWqI0RAtsnAJ9KkriT2VBDv5HqteCJ+YgeclzgbQCcD0qO
> S9hdELsHEhgXNeYw3touwfY=
> =D+WU
> -----END PGP SIGNATURE-----
> 
> 
e.g.

A shared repository on a central, readonly, server hosting all the modules.

shared_repos/module1
             /module2
             /module3
             ...
             /moduleN
             /programA

I need all those module to get my program to build.
So, to have a local working copy, I would branch each module from that 
shared repository locally?

e.g.

bzr branch http://server/repos/module1 module1
...
bzr branch http://server/repos/module1 moduleN
bzr branch http://server/repos/module1 programA

It's like the externals in subversion.

bzr branch http://server/repos/

Would then give me a full working directory.

Joris




More information about the bazaar mailing list