Merge lp://staging/~mbp/bzr/557886-update-file into lp://staging/bzr
Proposed by
Martin Pool
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Martin Pool | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 6179 | ||||
Proposed branch: | lp://staging/~mbp/bzr/557886-update-file | ||||
Merge into: | lp://staging/bzr | ||||
Diff against target: |
131 lines (+72/-17) 3 files modified
bzrlib/builtins.py (+37/-16) bzrlib/tests/blackbox/test_update.py (+29/-1) doc/en/release-notes/bzr-2.5.txt (+6/-0) |
||||
To merge this branch: | bzr merge lp://staging/~mbp/bzr/557886-update-file | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Needs Fixing | ||
Review via email: mp+77286@code.staging.launchpad.net |
Commit message
'bzr update PATH' makes it clear you can't update a single file
Description of the change
'bzr update -r -2 doc' doesn't do at all what you might think - it updates the
whole tree, which is fairly alarming.
With this fix, it just stops with a clear error. Also, the help is a bit better.
To post a comment you must log in.
ps, i'm doing this only in 2.5 because firstly, it's something people can avoid by using the command carefully, and secondly it's not impossible there are shell scripts that do run against a subdirectory and cope with that behaviour, and I wouldn't want to break them in a stable series.