Repository/Branch Layout

Aaron Bentley aaron.bentley at utoronto.ca
Wed Apr 18 16:58:20 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> Dennis Benzinger wrote:
>> Or would it be better to use a Bazaar branch for the whole projectX
>> directory?

No, that would be a very bad choice.  Your branches should always refer
to real branches, because Bazaar doesn't do partial checkouts.

>> If I store my Bazaar branches in a repository can somebody else still 
>> branch from projectX/trunk for example?

As long as they have access to your "bzr-repositories" directory, they
will be able to branch from bzr-repositories/projectX/trunk.

>> (As far as I understood the
>> revision history isn't stored in this branch but in the repository)

The revision history *list* is determined by the branch.  The actual
revisions are stored in the repository.

I want to explain that, unlike Subversion, it's possible to change your
repository layout at any time.  So you can relax; it is not crucial to
get your repository layout right the first time.

If projectX and projectY are completely unrelated, you may wish to give
them separate repositories (rooted at "bzr-repositories/projectX", etc).
 They will be a little faster to access that way.  But it mostly a
convenience/neatness tradeoff, and you can always change your mind later.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJkAc0F+nu1YWqI0RAsQxAJ4thloDCaxQdYtQHIQgKUbPH35byACffPZK
L8xmMTpIjSbG4rWT0aQGoUs=
=eguE
-----END PGP SIGNATURE-----



More information about the bazaar mailing list