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.

- 26,070
- 4
- 40
- 48

- 9
- 4
-
2Don't use SVN if you can use git. It will save you a lot of work later. SVN is painfull. – simbabque Sep 24 '15 at 13:39
-
1@simbabque: git can be pretty painful too ;-) For both it depends what you're using them for :) – psmears Sep 24 '15 at 13:48
1 Answers
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 amakefile.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.
-
This was really helpful. But I have certain roadblocks on this derived objects. I have to convert the builds from clearcase to svn(and i can not use git) So how do i replace the derived object concept with svn equivalent? – Rimi Ghosh Sep 25 '15 at 04:31
-
-
1) I had to get rid of the omake concept of calling the makefile(i got a makefile.bat for the same) 2) The cleartool commands like winkin, endview should be changed so that this becomes svn compatible. 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) – Rimi Ghosh Sep 25 '15 at 06:03
-
-
Can we use nmake for the same? I have created a maketarget.bat file. Will nmake work with this? do i need to change the *.BAT file? – Rimi Ghosh Oct 14 '15 at 07:24
-
`nmake` (http://c2.com/cgi/wiki?UsingNmake) should work there (but it still won't use any of the ClearCase features like winkins) – VonC Oct 14 '15 at 07:38
-
print "(nmake -s -k -r -f $MakeTarget)\n" if $debug; if this is the command will it change to print "(nmake -s -k -r -f $MakeTarget)\n" if $debug; – Rimi Ghosh Oct 14 '15 at 13:06
-
@RimiGhosh I am not sure that I spot the difference between the two commands. – VonC Oct 14 '15 at 15:12
-
The first command being print "(omake -s -k -r -f $MakeTarget)\n" apologies for the confusion. – Rimi Ghosh Oct 15 '15 at 04:28
-
@RimiGhosh OK: I don't know if all the options from omake are supported by nmake though. I suppose you will need to make some test to check that. – VonC Oct 15 '15 at 04:51
-
If i have a command, $res = `cleartool winkin -out $Default; How can i fetch this in svn? can anyone tell me the process or alternative? – Rimi Ghosh Oct 19 '15 at 10:33
-
@RimiGhosh considering my answer started with "cleartool winkin accesses the data of any existing DO, and a DO does not exist in Subversion."... I don't think you can "fetch" that from SVN. – VonC Oct 19 '15 at 11:16