---+ How to use CVS ---++++++ CVS help: _man cvs<br /> cvs -H < command name >_ ---++++++ Finding code in the CVS database: http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/ ---++++++ make a new CVS tag: _cvs import -m < message > < direction of the CVS tag > < name of the author > start_ <br /> -m msg Log message.<br /> e.g.:<br /> _cvs import -m "StopAnalysisHUN" UserCode/HUN-2_2_3/StopAnalysis/ akapusi start_ ---++++++ checkout: _cvs co -r < version number > -d < destination directory name > < CVS tag name >_ <br /> -r rev Check out revision or tag. (implies -P) (is sticky)<br /> -d dir Check out into dir instead of module name. e.g.(1): <br /> _cvs co -rV00-01-05 -d SusyAnalysis/PatCrossCleaner UserCode/SusyAnalysis/PatCrossCleaner_ <br /> e.g.(2): checkout the HEAD<br /> _cd CMSSW_X_X_X/src/SusyAnalysis/<br /> cvs co -d UserCode/< group name >/_ ---++++++ add a new tag to a valid CVS tag: _cvs tag < CVS tag name >-< e.g. number >_ e.g.:<br /> _cvs tag StopAnalysis-123456_ ---++++++ checkout: _cvs co -r StopAnalysis-123456 -d SusyAnalysis UserCode/HUN-2_2_3/StopAnalysis_ ---++++++ update: _cvs update_ <br /> <br /> 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 ..." < name of the modified file >_ <br /> or<br /> _cvs tag < name of the code >< number of tag >_ -- Main.AnitaKapusi - 29 Jun 2009
This topic: CMS
>
WebHome
>
NewPhysics
>
SusySearch
>
HUSUSYCVS
Topic revision: r3 - 2009-06-29 - AnitaKapusi
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback