How to use CVS CVS help:<br /> man cvs<br /> cvs -H <command name><br /> <br /> Finding code in the CVS database:<br /> http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/<br /> <br /> 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 <br /> checkout:<br /> 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 <code name> UserCode/<group name>/<code name> <br /> add a new tag to a valid CVS tag:<br /> cvs tag <CVS tag name>-<e.g. number><br /> e.g.:<br /> cvs tag StopAnalysis-123456<br /> checkout: cvs co -r StopAnalysis-123456 -d SusyAnalysis UserCode/HUN-2_2_3/StopAnalysis<br /> <br /> update:<br /> 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. <br /> <br /> difference:<br /> cvs diff <br /> upload/commit:<br /> cvs commit -m "I modified ..." <name of the modified file><br /> or<br /> cvs tag <name of the code><number of tag><br /> </body> -- Main.AnitaKapusi - 29 Jun 2009
This topic: CMS
>
WebHome
>
NewPhysics
>
SusySearch
>
HUSUSYCVS
Topic revision: r1 - 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