Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Reset repository content to a previous commit
[CDO] Reset repository content to a previous commit [message #1767938] Wed, 12 July 2017 09:30
Frederick Persch is currently offline Frederick PerschFriend
Messages: 1
Registered: July 2017
Junior Member
Hi,
I have a resource folder in my repository where I store models.

If a model reaches an invalid state I want to be able to provide a method to reset the content of the resource folder to the state of a previous commit (preserving CDOIDs at that point).
Either discarding all newer commits than a chosen one or setting an old commit as head revision would work fine for me.

Are there existing methods that achieve this behavior, similar to revert to revision, if yes could you point me in that direction?

Thanks,
Frederick
Previous Topic:[CDO] - CDOFeatureDeltaVisitor and CDORemoveFeatureDelta
Next Topic:[EMF] Serialization with jackson in XMI file
Goto Forum:
  


Current Time: Sat Apr 21 06:17:44 GMT 2018

Powered by FUDForum. Page generated in 0.01880 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software