Local commit and shelves

Ben Finney ben+bazaar at benfinney.id.au
Thu Feb 23 04:08:36 UTC 2012


Stefan Monnier <monnier at iro.umontreal.ca> writes:

> I'd like to be able to see for example the actual patch the shelve
> holds (not relative to the current checkout tree but relative to the
> revid that was current when the shelve was made, so it isn't obscured
> by conflicts).

This sounds good to me too. What UI would you expect for this?

There is already a ‘--change’ option (instead of ‘--revision’) for the
‘diff’ command:

  -c ARG, --change=ARG  Select changes introduced by the specified
   revision.

If a revisionspec could identify a shelve, maybe with ‘shelf:N’, then
this would be a good UI:

    bzr diff --change shelf:3

to see the change in shelf 3 without comparing against the branch state.

If you like that, can you please find and/or create a bug report to put
your request in?

-- 
 \     “The cost of a thing is the amount of what I call life which is |
  `\       required to be exchanged for it, immediately or in the long |
_o__)                                       run.” —Henry David Thoreau |
Ben Finney




More information about the bazaar mailing list