Revert implmentation and how to undo a bzr remove

Martin Pool mbp at sourcefrog.net
Thu Apr 28 00:19:55 BST 2005


On Wed, 2005-04-27 at 19:52 +1000, Aaron Bentley wrote:

> I should mention that the merge code can do revert (or switch, update,
> etc).  It can be restricted to operate only on particular files.

Two points on that:

Revert is such a common command that I think it needs at least to have
an easily visible interface.

In tla/baz, undo is implemented by calculating a changeset and applying
it in reverse.  Experience shows it often fails on one of these stages,
which is very unfortunate because revert is a command people want to use
to recover a messed-up tree.  It's important that revert work even when
something has happened that makes other commands fail.

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050428/3bd82074/attachment.pgp 


More information about the bazaar mailing list