Comment 1 for bug 240515

Revision history for this message
Robert Collins (lifeless) wrote :

bzr itself already remembers URL's. So once someone has the code they won't need the hint :). However, I think you mean 'tell someone who does not have the code how to get it'. I think that that is a good idea. This just needs loggerhead to know the public_branch of each branch - and bzr already has the configuration glue to set that as a default policy

e.g.
[file:///srv/bzr/gnome]
public_branch = http://bzr-mirror.gnome.org
public_branch:policy = appendpath

set in ~/.bazaar/locations.conf
would allow loggerhead to call 'branch.get_config().public_branch()' (or something like that - just sketching) and thus know the url to present to users.

I would recommend starting with 'bzr branch' as the command shown, simply because that is the mode of operation most users will need most of the time.