[BZRTOOLS] checkout/repository stuff

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 28 17:37:22 BST 2006


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

Erik Bågfors wrote:
>>Right, but if you're using a local repository, lightweight checkouts are
>>faster and cheaper than bound branches.
> 
> 
> 
> Ohh.. I think you are misunderstanding me.
> 
> Or maybe not, let me explain again
> 
> Normal checkout creates a bound standalone branch.
> 
> What I want is normal bound branches, where the branch they bind to,
> are in a repository on a sftp server.  However, I want my bound
> branches to share a repository locally as well, to save diskspace and
> make things faster.

I understood that.  It's still true that lightweight checkouts are
faster and cheaper locally.  If I assume your sftp server is non-local,
then bound branches are faster than checkouts.

But you could work the way I do at home, which is:

~/bzrrepo <- repository
~/bzr <- working tree directory

$ cd bzr
$ bzr cbranch ab.integration micro
$ cd micro
# hack, commit, hack, commit
$ rsync ~/bzrrepo -av --delete ~/bzrrepo/ aaronbentley.com:code/bzr/bzrrepo
(Actually, I have a script for the rsync)

This avoids the pain of sftp weave push, gives me cheap storage, makes
me happy in general.

> It will share the local repo.  So with this setup, bzr checkout
> creates bound branches that are not stand alone.  I haven't tried if
> this will work, but I assume so?

I expect it works, but also haven't tried it.

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

iD8DBQFEKWZC0F+nu1YWqI0RAia7AJ0UvNLMha9vQ8wI4IQND6xWwj00bACfRqnE
iKmqP5zBGuDjZlBHJo7A2is=
=81Ta
-----END PGP SIGNATURE-----




More information about the bazaar mailing list