New branch created accidentally
John Arbash Meinel
john at arbash-meinel.com
Wed Jan 26 20:41:45 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/26/2011 2:33 PM, John Arbash Meinel wrote:
> On 1/26/2011 12:13 PM, Eric Siegerman wrote:
...
> The original use case was that you can define whatever naming structure
> that you want for your project. For example you could do:
>
> bzr branch $URL/project
> trunk of the project
> bzr branch $URL/2.3
> a release series for the project
> bzr branch $URL/2.3/feature
> an in progress feature that is targeted at the 2.3 series
>
I think what motivated me originally for this was that doing:
bzr branch $URL/project
Gave you a target named "project" rather than "trunk". Today we've
gotten around this with "lp:project". It is mostly happy accident
because the code that determines the target name takes it from the
string the user supplies rather than from the full URL of the branch you
actually accessed. (lp:bzr expands to
bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev but you get a directory 'bzr'
on disk.)
Note that stuff like collocated branches can also provide a similar
experience. Though at that point, you really are saying something more
like: bzr branch/clone $REPO and getting a bunch of branches in the target.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1AhwkACgkQJdeBCYSNAANGOgCgopwjgu0s+wQ5W15KZ2Pc37YU
MFQAoJ8k1+k6Pqexb0nGOhVzOFqEoEN9
=uTYT
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list