Hello,
I need to setup a 'branch' of a project that is under SVN. (with 'branch', I mean here the Subversion concept of a branch).
However it seems that the changes I apply to the branch are replicated to the trunk.
Preparations
- Create 2 empty SQL Server databases Test_EA_Trunk and Test_EA_Branch
- In the Test_EA_Trunk, add some initial diagrams
- Create a new Subversion Repository, and add this Test_EA_Trunk project to SVN
http://xxx:8080/svn/Test_EA/trunk- Make some additional changes to a package, and commit all these changes.
Setup of a Branch
- Verify that no packages are checked out (Edit / Model Search / My Checked Out Packages … Options : Manage Searches)
o Update the query as follows
SELECT t_package.PackageFlags ,
t_object.ea_guid AS CLASSGUID, t_object.Object_Type AS CLASSTYPE,t_object.Name AS Object, ...AND
t_package.PackageFlags LIKE '#WC#VCCFG=#WC#'
- Now make a branch in SVN repository browser (Copy To …. tags/T1.)
- With "Tools / Data Management / Project Transfer " you can copy the complete repository from Test_EA_Trunk to Test_EA_Branch
- Create an additional local directory d:\workspaces\EA\Test_EA_Branch, and hook it up to the tags/T1.
- Update the Version control Settings of the branched model ( Model, Package Control, Version Control Settings) and let it refer to the local folder Test_EA_Branch
Verification
- Edit / Model Search, Use the same query as above
- This indicates VCCFG=EA_Trunk, although one would expect it to be VCCFG=EA_Branch.
- Execute following actions to reveal the problem
o Open EA_Branch
o Check Out a package
o Add a Class
o Check In the package
o Open EA_Trunk
o Check out same package
o [ch61664] Additional class is shown
Question:
How to manipulate the PackageFlags so that the ‘branch’ copy actually refers to another SVN copy?
I could use native SQL to patch the packageflags from "isModel=1;VCCFG=EA_Trunk;..." to "...;VCCFG=EA_Branch".
But is there a simple solution to achieve it?