SVN to Clearcase Export

前端 未结 7 1203
悲哀的现实
悲哀的现实 2020-12-30 15:47

I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to work against an SVN repository (or really anything

7条回答
  •  灰色年华
    2020-12-30 16:20

    I use Git directly within a ClearCase view.
    Then I could git2svn back the content to SVN if I had a SVN repo to synchronize with.

    Note: for a tool to work directly within a ClearCase view, I have to use a snapshot view, in order to write in files even if they are not checked out yet. Then for any activity I consider finished, I update the snapshot view which allows me to list all "hijacked" files. I check-out them, then check-in them.


    The issue I would see with working with SVN in this case (ClearCase repo for the client) would be to:

    • introduced another central repository (meaning to commit, you have to have access to your private central SVN repository, and, for "to-the-client commits", to have access to the central ClearCase VOB - Version Object Base, the "repository" in ClearCase lingo).
    • introduced another branch modeling, where in SVN, it is a cheap copy within a directory, whereas in ClearCase, it is a metadata (branch) not represented as a directory. That means the physical tree of a SVN checkout might not match a snapshot view update in ClearCase, because some of the directories checked out by SVN will simply not exist in ClearCase.

    At least, with Git, you have:

    • private repository (you are not adding another central repository everyone should have access to)
    • same branching model (at least when it comes to "not representing a branch by a directory")

提交回复
热议问题