[MERGE/RFC] Easily revert your reverts!

James Westby jw+debian at jameswestby.net
Fri Mar 13 05:16:20 GMT 2009


Hi,

After some discussion with Aaron I changed "revert" to use the
same mechanism as "shelve". This means that your changes won't
be stored in backup files when you revert, but put in a shelve
instead, making it easier to restore them.

The biggest problem I foresee is that MutableTree.revert()
implementations might do wacky things, but I think we should
fix that we can.

You'll note that there are no tests deleted or heavily modified,
meaning that nothing was checking that we created backup files,
so we at least have tests that make sure we don't delete users'
data.

Thanks,

James


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-dev-revert-4127.patch
Type: text/x-patch
Size: 30252 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090313/188bf424/attachment-0001.bin 


More information about the bazaar mailing list