What is the svn equivalent to winkin in clearcase?

2019-06-07 21:29发布

问题:

I am new to svn, however I am at present making the transition of some Perl scripts from ClearCase. I know that Clearcase have dynamic views, so it can access one or more derived objects (DOs) from a dynamic view, or convert a nonshareable derived object to a shareable (promoted) derived object by the cleartool command winkin. How do I replace it with an equivalent svn command, knowing that svn is static.

回答1:

You don't: Those notion of derived object are very specific to ClearCase dynamic view. cleartool winkin accesses the data of any existing DO, and a DO does not exist in Subversion.

That is similar to "Is there a git equivalent to cleartool catcr": gcc (meaning the tool using the sources to compile) might have some information, but the source control tool itself (Subversion) won't have any.

flag

1) I had to get rid of the omake concept of calling the makefile (I got a makefile.bat for the same)

This has nothing to do with SVN or git.
A third-party tool (OmpenMake, graddle or Bazel (see "e") would be needed here.

2) The cleartool commands like winkin, endview should be changed so that this becomes svn compatible.

There is no notion of dynamic view in any other tool but ClearCase.

3) this changes will stir up changes in the *.LOG file that gets generated on successfully running the *.BAT, I need to have a list of files (URL and revision no. which will be stored in the *.LOG file, for this I need to change the cleartool describe command)

That depends on the language and build mechanism you will chose, and not on SVN.
With a modern language like go (golang), you wouldn't be concerned anymore by the list of files built: only the one with changes would be recompiled.