Project

General

Profile

Access to the repository

Are you in the "NuMI Beam" redmine group list? See the member list on https://cdcvs.fnal.gov/redmine/projects/numi-beam
Not there? See https://cdcvs.fnal.gov/redmine/projects/numi-beam/wiki/Wiki

Checking out the code from CVS

What was numisoft is now numi-beam-sim

 
export NUMI_BEAM_SIM_CVS=:ext:p-numi-beam-sim@cdcvs.fnal.gov/cvs/projects/numi-beam-sim 
cvs -d ${NUMI_BEAM_SIM_CVS} checkout numi-beam-sim 

There are two CVS branches nova and minerva

 
cvs -d ${NUMI_BEAM_SIM_CVS} checkout -r nova numi-beam-sim 
or
 
cvs -d ${NUMI_BEAM_SIM_CVS} checkout -r minerva numi-beam-sim 

If you're checking out more than one branch remember that CVS doesn't allow one to rename the top of the hierarchy at checkout time, so

 
cvs -d ${NUMI_BEAM_SIM_CVS} checkout numi-beam-sim 
mv numi-beam-sim numi-beam-sim-HEAD 

cvs -d ${NUMI_BEAM_SIM_CVS} checkout -r nova numi-beam-sim 
mv numi-beam-sim numi-beam-sim-nova 

Empty directories

This CVS checkout procedure might prune away empty directories. If you need/desire those directories, then you might do something like:

 
cvs -d ${NUMI_BEAM_SIM_CVS} checkout -r nova numi-beam-sim 
mv numi-beam-sim numi-beam-sim-nova 
cd numi-beam-sim-nova 
cvs update -d # just -d, no A or P, to build directories 
# -A removes sticky tag (ie. nova branch) 
# -P would prune empty directories 
cd .. 

Comparing the code to the old repository

Assuming you've have an old copy (say the nova version from nusoft cvs) at nova_numisoft you can compare the head of the nova branch to the nusoft version via:

 
diff -r --exclude=CVS numi-beam-sim-nova/ nova_numisoft | egrep -v '[0-9]c[0-9]|[0-9][0-9]c[0-9][0-9]|\$Id:|---|diff -r --exclude' 

The egrep excludes boring lines that delineate changes (diff's output markers) and the most common change the $Id: cvs keyword substitutions (since version #s changed), that is lines like:
 
diff -r --exclude=CVS numi-beam-sim-nova/g4numi/include/NumiNuWeight.hh MERGE/nova/g4numi/include/NumiNuWeight.hh 
1c1 
< // $Id: NumiNuWeight.hh,v 1.1.2.4 2009/09/24 16:43:38 martens Exp $ 
--- 
> // $Id: NumiNuWeight.hh,v 1.3 2009/09/24 16:43:38 martens Exp $ 

Problems?

Ah, can't get the checkout to work ... are you in the "NuMI Beam" redmine group list? See the member list on https://cdcvs.fnal.gov/redmine/projects/numi-beam


Read-only access to cvs:

 
cvs -d :pserver:anonymous@cdcvs.fnal.gov:/cvs/projects/numi-beam-sim/ checkout -r v1r9 ppfx