(fwd) bzr shelve feedback

Martin Pool mbp at sourcefrog.net
Tue Nov 29 04:39:03 GMT 2005


On 24 Nov 2005, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> 
> > Your bug report basically translates as "bzr unshelve isn't baz undo",
> > and my answer to that is "Correct.  It's not."  Had you asked "What's
> > the equivalent of baz undo?" on the list, you would have gotten a
> > helpful answer.  Probably along the lines of "Revert, except that
> > there's no redo command".
> 
> That's the key point. "bzr revert" is what brad is looking for.

I think one has to expect some bug reports to be filed that are not
actually bugs, or not bugs in the thing  the reporter thought they were.
In a way it's annoying but there can be useful information in them --
that's why I forwarded it with a more neutral title.

> > Complain if you like, but it's baz and tla that use the term incorrectly.
> 
> Since "bzr" is "Bazaar 2", it would make sense to have an undo command
> that would either be an alias for "revert" or a command printing eg
> "There is no undo command in bzr. See \"revert\"." and exiting.

Yes I think that'd be good.

> Actually, it would be nice if "revert" had an "unrevert" (or probably
> a better name) dual. I think it would make sense to unify the two
> commands. Stg like:
> 
> bzr revert --interactive  => bzr shelve
> bzr unrevert              => bzr unshelve
> 
> I suppose the best way to do this is to store the diff with the
> last-commited revision (let's call it A) in a changeset (for revert),
> and to do a 3-way merge (working copy, A, A+changeset) (for unrevert).

Yes, I agree.
-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051129/d8ef2106/attachment.pgp 


More information about the bazaar mailing list