Created
April 12, 2012 14:01
-
-
Save inancsevinc/2367505 to your computer and use it in GitHub Desktop.
Batch file for exporting subversion repository and checking in to clearcase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET CC_VOB_DIR= | |
SET CC_VIEW_TAG= | |
SET CC_COMPONENT_NAME= | |
SET CC_VOB_NAME= | |
SET TMP_SVN_EXPORT_DIR= | |
SET SVN_URL= | |
@echo deleting directory %TMP_SVN_EXPORT_DIR% | |
rd /S /Q %TMP_SVN_EXPORT_DIR% | |
svn export %SVN_URL% %TMP_SVN_EXPORT_DIR% --force | |
clearfsimport -nsetevent -recurse -rmname %TMP_SVN_EXPORT_DIR% %CC_VOB_DIR% | |
IF %1==-b ( | |
cleartool mkbl -view %CC_VIEW_TAG% -full -component %CC_COMPONENT_NAME%@\%CC_VOB_NAME% %CC_COMPONENT_NAME% | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment