Difference: HUSUSYCVS (1 vs. 3)

Revision 32009-06-29 - AnitaKapusi

Line: 1 to 1
 
META TOPICPARENT name="SusySearch"

How to use CVS

CVS help:

Revision 22009-06-29 - AnitaKapusi

Line: 1 to 1
 
META TOPICPARENT name="SusySearch"
Changed:
<
<
How to use CVS
>
>

How to use CVS

CVS help:
 
Changed:
<
<
CVS help:
man cvs
cvs -H

Finding code in the CVS database:
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/

make a new CVS tag:
>
>
man cvs
cvs -H
Finding code in the CVS database:
 
Changed:
<
<
cvs import -m start
-m msg Log message.
e.g.:
cvs import -m "StopAnalysisHUN" UserCode /HUN-2_2_3/StopAnalysis/ akapusi start
>
>
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/
make a new CVS tag:
 
Changed:
<
<

checkout:
cvs co -r -d
-r rev Check out revision or tag. (implies -P) (is sticky)
-d dir Check out into dir instead of module name.
>
>
cvs import -m start
-m msg Log message.
e.g.:
cvs import -m "StopAnalysisHUN" UserCode /HUN-2_2_3/StopAnalysis/ akapusi start
checkout:
 
Changed:
<
<
e.g.(1):
cvs co -rV00-01-05 -d SusyAnalysis /PatCrossCleaner UserCode /SusyAnalysis/PatCrossCleaner
e.g.(2): checkout the HEAD
cd CMSSW_X_X_X/src/SusyAnalysis/
cvs co -d UserCode //
>
>
cvs co -r -d
-r rev Check out revision or tag. (implies -P) (is sticky)
-d dir Check out into dir instead of module name.
 
Changed:
<
<

add a new tag to a valid CVS tag:
cvs tag -<e.g. number>
e.g.:
cvs tag StopAnalysis -123456
checkout:
>
>
e.g.(1):
cvs co -rV00-01-05 -d SusyAnalysis /PatCrossCleaner UserCode /SusyAnalysis/PatCrossCleaner
e.g.(2): checkout the HEAD
cd CMSSW_X_X_X/src/SusyAnalysis/
cvs co -d UserCode //
add a new tag to a valid CVS tag:
 
Changed:
<
<
cvs co -r StopAnalysis -123456 -d SusyAnalysis UserCode /HUN-2_2_3/StopAnalysis

update:
cvs update

After this we have to check the code, because if another person modified it, it's possible that it doesn't run.

difference:
cvs diff
>
>
cvs tag -<e.g. number>
 
Changed:
<
<

upload/commit:
cvs commit -m "I modified ..."
or
cvs tag
>
>
e.g.:
cvs tag StopAnalysis -123456
checkout:

cvs co -r StopAnalysis -123456 -d SusyAnalysis UserCode /HUN-2_2_3/StopAnalysis

update:

cvs update

After this we have to check the code, because if another person modified it, it's possible that it doesn't run.

difference:

cvs diff

upload/commit:

cvs commit -m "I modified ..."
or
cvs tag

  -- AnitaKapusi - 29 Jun 2009

Revision 12009-06-29 - AnitaKapusi

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="SusySearch"
How to use CVS

CVS help:
man cvs
cvs -H

Finding code in the CVS database:
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/

make a new CVS tag:

cvs import -m start
-m msg Log message.
e.g.:
cvs import -m "StopAnalysisHUN" UserCode /HUN-2_2_3/StopAnalysis/ akapusi start


checkout:
cvs co -r -d
-r rev Check out revision or tag. (implies -P) (is sticky)
-d dir Check out into dir instead of module name.

e.g.(1):
cvs co -rV00-01-05 -d SusyAnalysis /PatCrossCleaner UserCode /SusyAnalysis/PatCrossCleaner
e.g.(2): checkout the HEAD
cd CMSSW_X_X_X/src/SusyAnalysis/
cvs co -d UserCode //


add a new tag to a valid CVS tag:
cvs tag -<e.g. number>
e.g.:
cvs tag StopAnalysis -123456
checkout:

cvs co -r StopAnalysis -123456 -d SusyAnalysis UserCode /HUN-2_2_3/StopAnalysis

update:
cvs update

After this we have to check the code, because if another person modified it, it's possible that it doesn't run.

difference:
cvs diff


upload/commit:
cvs commit -m "I modified ..."
or
cvs tag

-- AnitaKapusi - 29 Jun 2009

 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback