Author: ericwa
Date: Wed Nov 20 23:31:04 2013
New Revision: 9649

URL: http://svn.gna.org/viewcvs/etoile?rev=9649&view=rev
Log:
Implement the 'command rewriting' idea for COUndoTrack. That is, when we apply 
a command 'r1->r2', if applying that causes a selective apply generating a new 
commit r10 from the current commit r9, we rewrite the command as 'r9->r10'. 
This gives better results in -[TestUndo testSelectiveUndoRewritesCommands], and 
I suspect will work better in general, but we'll need to exeperiment more

Modified:
    trunk/Etoile/Frameworks/CoreObject/Tests/Undo/TestUndo.m
    trunk/Etoile/Frameworks/CoreObject/Undo/COCommand.h
    trunk/Etoile/Frameworks/CoreObject/Undo/COCommand.m
    trunk/Etoile/Frameworks/CoreObject/Undo/COCommandGroup.h
    trunk/Etoile/Frameworks/CoreObject/Undo/COCommandGroup.m
    
trunk/Etoile/Frameworks/CoreObject/Undo/COCommandSetCurrentVersionForBranch.h
    
trunk/Etoile/Frameworks/CoreObject/Undo/COCommandSetCurrentVersionForBranch.m
    trunk/Etoile/Frameworks/CoreObject/Undo/COUndoTrack.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to