Martin,
this is dangerous indeed and I think Sparx should revert to the previous (7.1) way in this respect. Obviously they have changed VC exception handling and sacrificed security for performance.
They will probably argue that there is no danger as long as we do all VC operations from within EA and don't fiddle with the local working copy behind its back. But fiddle we must, as long as EA does not support tagging and branching.
I can see, though, that Sparx would be hard taken to support it. VC systems have differing tagging and branching philosophies (e.g. SVN and CVS handle it in completely different ways) and Sparx would have to think up a common interface for all this and write individual implementations for the various VC systems. I'm not surprised by their shying away from this.
They might, however, with much less effort supply some utilities for those of us with a need for branching. The way it is, copying a project with EA xmi files to a branch in SVN can be done with these steps:
------------------------------
1. Select top folder in explorer and create branch via Tortoise (or command line) SVN.
2. Edit all xmi files in the new branch. If you had a separate VC configuration for the trunk (or old branch), change the
UML:TaggedValue tag="packageFlags" value="VCCFG=???
tags; otherwise, change the
UML:TaggedValue tag="xmlpath" value=???
tags.
3. Commit the changed xmi files via Tortoise (or command line) SVN.
4. Create a new EA project and import all top level controlled packages involved from the new branch via "Get Package".
--------------------------------
Step 2 could be varied by editing only the xmi files for the top level packages, and then doing the rest from within EA (kicking out all the nested packages and re-importing them from the new branch). But this is tedious. What I would like to have is a dialog in EA with a list (or tree) of all controlled packages and a possibility to edit their VC configuration without it taking immediate effect. And then a button to apply all the new settings, so that EA can do all the lengthy things (deleting packages from the model an re-importing them from the new paths) in one go while I'm having my lunch break.
I'm afraid this will remain a dream, but maybe one day they will at least include the VC operations in the automation interface, so we could write our own branching AddIn.