Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Duplicating a branch
[CDO] Duplicating a branch [message #1853659] Tue, 12 July 2022 19:16 Go to next message
Alain Picard is currently offline Alain PicardFriend
Messages: 266
Registered: July 2009
Senior Member
I am looking to see if there is any facility to duplicate the content of a branch (would be at create time here).

If not are there any examples that rely on CDO specific code or would it be best just to use the EMF copy functions.

Thanks
Alain
Re: [CDO] Duplicating a branch [message #1853666 is a reply to message #1853659] Wed, 13 July 2022 07:47 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Have you tried to merge between the two branches?

Re: [CDO] Duplicating a branch [message #1853673 is a reply to message #1853666] Wed, 13 July 2022 09:29 Go to previous messageGo to next message
Alain Picard is currently offline Alain PicardFriend
Messages: 266
Registered: July 2009
Senior Member
No, I didn't, but that does sound like a very good approach. Will try it.

Thanks
Alain
Re: [CDO] Duplicating a branch [message #1853682 is a reply to message #1853673] Wed, 13 July 2022 12:51 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
I forgot to ask why you want to create a branch with the same content as another one.
Couldn't you just create a branch at the head of that other branch?


Previous Topic:[CDO]Error while prefetch lock state
Next Topic:Problems using Ecore OCL for derived
Goto Forum:
  


Current Time: Fri Apr 26 04:25:25 GMT 2024

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

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

Back to the top