To commit to CVS

For example, for TrigL2CosmicMuonHypo package, you can first change your "ChangeLog" file (in ../Trigger/TrigHypothesis/TrigL2CosmicMuonHypo directory) and do,

cvs -n update -A  //since you have "-n" nothing will be updated

to check that it has been changed; if so, you'll get something like:

  cvs update: Updating .
  M ChangeLog            

where "M" stands for "Modified". To update, do:

cvs update -A 

Then, the updated files will appear with an "A" at the begining.

To commit do:

cvs commit -m "add code to.... "

To see the tags for that package do:

cmt cvstags Trigger/TrigHypothesis/TrigL2CosmicMuonHypo 

And to make a new tag,

cvs tag TrigL2CosmicMuonHypo-00-01-15

If you want to update/commit some files within certain directories

 cvs update -A ChangeLog TrigL2CosmicMuonHypo/CosmicTrtHypo.h 
python/TrigL2CosmicMuonHypo_Config.py src/CosmicTrtHypo.cxx

 cvs commit ChangeLog TrigL2CosmicMuonHypo/CosmicTrtHypo.h 
python/TrigL2CosmicMuonHypo_Config.py src/CosmicTrtHypo.cxx

-- LauraGonzalezSilva - 11 Dec 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2007-11-04 - LauraGonzalezSilva
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback