Rollback ate my commit message! (issue 1635)

Douglas Philips dgou at mac.com
Wed Nov 18 16:27:20 CST 2009


On or about 2009 Nov 18, at 5:08 PM, Dan Villiom Podlaski Christiansen  
indited:
> On 18 Nov 2009, at 22:15, Martin Geisler wrote:
>> I'm not sure why we only save the very last lengths?
>
> Perhaps because not all operations are safely reversible? An actual  
> undo stack might require a fair amount of testing to make sure it  
> really works…

If the new operation isn't reversible, it can't be rolled back. If  
that isn't true I need a new VCS. :)

If I pull, then commit, the commit might throw away the undo info for  
the pull, but if it still existed it would be safe. Mercurial is  
append only after all. :)


-Doug



More information about the Mercurial-devel mailing list