2010年2月10日

CVS Command

Root:
#export CVSROOT=:pserver:[user name]@[server]:/share/service/cvs

Checkout:
#cvs checkout -d [folder name] -r [tag] "[server code path]"

Commit:
#cvs commit -m "[log]"

Branch:
#cvs tag -b [branch name]

Checkout Branch:
#cvs checkout -d [folder name] -r [branch name] "[server code path]"

Look Up Version:
#cvs status -v

Look Up Log:
#cvs log -S -d "2005/10/1<2005/10/3">
/*To show the headers of files in the current directory created after October 1, 2005 through the present time*/

Add Tag:
#cvs tag tag_name

checkout by tag:
#cvs co -r tag_name output_path

checkout by date:
#cvs checkout -D "mm/dd/yyyy hh:mm" -d [folder name] "[server code path]"

look changelog
#cvs2cl.pl -r
#vim ChangeLog

沒有留言: