Should tell me what command to run to 'download it' (bzr pull)
Bug #240515 reported by
Olav Vitters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Undecided
|
Jonathan Lange |
Bug Description
It would be great if Loggerhead would help the user to download the code.
It should try to avoid to be complicated. Basically, only tell how to download the latest changes in some branch/trunk.
E.g. tell the user to:
bzr pull $URL
Please avoid options like revision, even if the user is looking at some specific revision within that branch. As a start, just show above command suggestion in the files view when either the '/' is shown (http://
Related branches
Changed in loggerhead: | |
assignee: | nobody → jml |
status: | Confirmed → Fix Committed |
Changed in loggerhead: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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. //srv/bzr/ gnome] bzr-mirror. gnome.org branch: policy = appendpath
[file:/
public_branch = http://
public_
set in ~/.bazaar/ locations. conf get_config( ).public_ branch( )' (or something like that - just sketching) and thus know the url to present to users.
would allow loggerhead to call 'branch.
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.