Colocated branch progress
Jelmer Vernooij
jelmer at samba.org
Wed Aug 17 09:58:19 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/08/11 02:14, Jelmer Vernooij wrote:
> The ability to address colocated branches using URLs has long been in
> progress (https://bugs.launchpad.net/bugs/380871). After brainstorming a
> bit with John and Martin at the recent Launchpad sprint, I'm finally
> back on track hacking on it.
>
> There are basically four things left to do now:
>
> 1) Avoid URLescaping comma's when converting local paths to URLs.
> (lp:~jelmer/bzr/escape-comments)
> 2) Preserve the distinction between literal and delimiting comma's in
> URLs when they are parsed in e.g. ConnectedTransport (2)
> 3) Parse the subsegment parameters for Transports and make them
> accessible (done, lp:~jelmer/bzr/transport-segments)
> 4) Look at the transport segment parameters in ControlDir and use them
> to determine the default branch (this should be fairly easy)
All this has now finally happened, and is currently pending for landing
on bzr.dev.
This means that with control directory formats that support it, you can
now do things like:
$ bzr log "file:///path/to/repo,branch=foo
We might add shorter forms of this available in the future, but will
have to be careful to not break other use cases. For example, supporting
"/tmp/repo,branch=foo" will break things for people who actually have
branches with a comma in their name.
There are also two pending branches that make it possible to list
colocated branches ("bzr branches") and switch between them using "bzr
switch".
Cheers,
Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOS5C7AAoJEACAbyvXKaRXR/QP/2TCYi4t80EDIrzAjUd3Tgs5
Gqx8V8W3h6Bf1AQ5PsQlCSmrJk5lRGqddmBX6T/GtX6OseN+p4Zk1Ha0v/kLpEYI
3KllRV0G4lGI/PS1xOfcNPuVxzIIN3LpiPUtc0qOE3jiSkwDGpGYkqy1GkmrUN7x
sQOCdgcQZoIdgkGvI/x1I/rGsnQWizSUDvahXEkb3gAGfC0ZXriczt27wbqAMiO4
RwSzL9rgxktFBMCHCCH5pOSr336bcHCwPbNshcFVCilFA/2RQVFX7f97NG9BuEP6
ZlaHAOfQfhgqUg9Dmct1CTy3aDGHnT7oWIC7JocAyHTh/Fh86vadwfnCKPQVE6Fj
uXptamT27WR8TmygK/OLHk9tMkcExT6tWKWxM+9s95Z4KmKPKMSi1cgnMZcGeO8E
pa2SOGozKXJWj1yYSjCGcnQXzWx8VZFqxoC8wuy4LQHMmojJ8JKZQEX/SaFvCSRz
1wo6WWCD6VPjaCua/X2V+BUJ4JFzWzoI/t4/b2IJgGzTJHtbVeiRyYPdvSBnUuGD
njtGPLLh2moZYw1lOe09JTe05gg7serarmGcLWgc321URaEcR8v/E4J7N9h3OhgF
M/2blGXZbinY4Cx52HKSvi5YpfRDR/qRTqvPddmDTsDhCd6Yy708wIz9cpR6tW5b
tfCsjPjaMwRnV69YZ5NN
=MBj7
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list