Using one working tree
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 11 22:42:59 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Forest Bond wrote:
| Hi,
|
| On Wed, Jun 11, 2008 at 04:02:06PM -0500, John Arbash Meinel wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> I've been playing around with using bzr in the "one tree, many branches" mode.
|> And I thought I would compile some of my experiences with it.
|
| And how, for the sake of a non-developer like myself, does one set up an
| environment in which bzr can be used this way? I just might like to test it.
|
| Thanks,
| Forest
The way I did it was:
bzr init-repo --no-trees ~/dev/bzr
cd dev/bzr
bzr co http://bazaar-vcs.org/bzr/bzr.dev bzr.dev
(This gives a working tree and the pristine upstream)
bzr branch bzr.dev feature-branch
bzr co --lightweight feature-branch work
Now you have a working tree associated with a feature-branch, the 'init-repo
- --no-trees' at the beginning will prevent a working tree from being created by
'bzr branch' (but not by bzr checkout).
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhQRuMACgkQJdeBCYSNAAPHRQCfdZElemFpNCsiY/amn+4HD+bn
4KQAoIyx1Ql8lGM7NZb00aUmOFU/RtaD
=4EwF
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list