revert/shelf/undo/redo

Martin Pool martinpool at gmail.com
Thu Oct 27 02:14:18 BST 2005


On 26/10/05, Michael Ellerman <michael at ellerman.id.au> wrote:

> > You could get part way there by at least knowing what the last action
> > was and saying "sorry, can't undo commit yet".
>
> Yeah, I think if you're going to call it "undo" it had be pretty close to what
> you get in a word processor etc. ie. arbitrary levels of fine-grained undo
> and redo. That's probably doable, but more work than just revert to last
> checkin.

Well, even in wordprocessors there are some operations like "save" (or
"print" :-) that  can't be undone.  Some apps refuse to undo the save
(word?), and some just exclude the save from consideration and undo
the previous action (emacs/gimp).  We tend to run into those
boundaries earlier because bzr interacts extensively with the
filesystem and other programs rather than working just  working on its
own data model.

--
Martin




More information about the bazaar mailing list