shelve should show diff

Bug #1201824 reported by Chad Miller
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned
Breezy
Triaged
Wishlist
Unassigned

Bug Description

"bzr shelve" is a verb to store a diff as a new change elsewhere, but is also access to the suite of shelving stats. When committing, we get a nice message,

2 shelves exist. See "bzr shelve --list" for details.

Awesome.

But, unless you stored a -m'essage with the shelved diff, it's not very helpful. You have to see the diff itself to know what the changes are.

And for that, you have to know that the programmer thought of the internals of unshelving but not applying the diff to the source as the only way to see the diff. "bzr unshelve --preview"? That's not close to listing shelves. Discoverabilty nightmare.

So, "bzr shelve --list" should emit a message about how to see what the diffs are, and it should not be so weird as "preview". Make it part of the "bzr shelve" commands.

I suggest

bzr shelve --show N # show diff of #N.
bzr shelve --show # to show all
bzr shelve --list --show-diff # parity with "bzr log"!

and a new message with "bzr shelve --list" that points to how to find out more about the contents of a shelf or shelves.

Tags: shelf
Chad Miller (cmiller)
description: updated
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: added: shelf
removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → Low
importance: Low → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.