Author: ericwa
Date: Wed Nov 27 00:17:58 2013
New Revision: 9674
URL: http://svn.gna.org/viewcvs/etoile?rev=9674&view=rev
Log:
Change COPersistentRoot so -objectGraphContext returns a special object graph
representing the current branch. You can make changes in either [persistentRoot
objectGraphContext] or [[persistentRoot currentBranch] objectGraphContext] and
they will be staged for commit on the current branch (but they don't replicate
to each other until commit time, and it is illegal to modify both). Note: right
now, the hash of a COObject from [persistentRoot objectGraphContext] will
change when the current branch is changed; this will need to be fixed.
Modified:
trunk/Etoile/Frameworks/CoreObject/Core/COBranch.m
trunk/Etoile/Frameworks/CoreObject/Core/COEditingContext.m
trunk/Etoile/Frameworks/CoreObject/Core/COObjectGraphContext+Private.h
trunk/Etoile/Frameworks/CoreObject/Core/COObjectGraphContext.h
trunk/Etoile/Frameworks/CoreObject/Core/COObjectGraphContext.m
trunk/Etoile/Frameworks/CoreObject/Core/COPersistentRoot+Private.h
trunk/Etoile/Frameworks/CoreObject/Core/COPersistentRoot.m
trunk/Etoile/Frameworks/CoreObject/Core/COSerialization.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs