Merge lp:~parthm/bzr/403687-shelve-summary-in-status into lp:bzr
Proposed by
Parth Malwankar
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vincent Ladeuil | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 5444 | ||||
Proposed branch: | lp:~parthm/bzr/403687-shelve-summary-in-status | ||||
Merge into: | lp:bzr | ||||
Diff against target: |
117 lines (+50/-4) 4 files modified
NEWS (+6/-1) bzrlib/shelf.py (+3/-0) bzrlib/status.py (+19/-3) bzrlib/tests/blackbox/test_status.py (+22/-0) |
||||
To merge this branch: | bzr merge lp:~parthm/bzr/403687-shelve-summary-in-status | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Alexander Belchenko | Approve | ||
Review via email: mp+35218@code.launchpad.net |
Commit message
'bzr status' now displays shelve summary (#403687).
Description of the change
=== Fixes bug #403687 ===
This patch adds a post_status hook to display a one line summary of shelves. If there are no shelves then nothing is displayed.
E.g.
[bzr-grep]% bzr st
modified:
features.py
3 shelves exist. See "bzr shelve --list" for details.
[bzr-grep]%
To post a comment you must log in.
+* ``bzr status`` now displays a summary of existing shelves after
+ the other status information. This us done using a ``post_status``
This *is* done, I guess.
I think you need to add direct test for list_shelves because it's a new public API.