Work with EFIT CVS
- Setup
- setenv CVSROOT /c/efit/CVS
add this line in your .login if used frequently - create file .cvsrc in your home directory including at least one line
checkout -kkv
- setenv CVSROOT /c/efit/CVS
- Remote access
-
cvs -d :pserver:username@hydra.gat.com:/c/efit/CVS login:pserver:username@hydra.gat.com:/c/efit/CVS as repository for all cvs commands, eg
Need to specify -dcvs -d :pserver:username@hydra.gat.com:/c/efit/CVS checkout
-
- Checkout
- create a directory, cd to that directory
- cvs checkout efitcore efitbuild efitex
- cd efitbuild
- make
- Update to bring work tree sync with repository
- cvs -n update
displays files which are not up-to-date without acturally changing the working directory . - cvs update
updates the working directory recursively with any change made to the repository by others
- cvs -n update
- Check codes back in
- cvs commit [options] [files...]
- cvs commit
check all files being changed back into the repository. this is done recursively. - options
- -r revision - specify a new revision number, e.g. -r 3.0
- -m message - use message as log message, instead of invoking an editor
- -l - run only in current working directory
- ...
- cvs commit
- cvs commit [options] [files...]
- Other useful commands
- cvs diff [options] [files...]
- -D date
- -r revision/tag
- + 0 -r options, working file will be compared with the revision it based on
- + 1 -r options, that revison will be compared with working file
- + 2 -r options, those two revisions will be compared.
- cvs diff [options] [files...]

.