;; set cvs environment variable
;; local server
set CVSROOT=:local:c:/cvs
cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master login
;; cvs repository initialization
cvs init
;; cvs import a project
cd projectdir
cvs import [-m msg] projectname vender-tag start
;; handling binary files
;; -I ! : import all files
;; -W "*.exe -k 'b'" : treat *.exe as binary files
cvs import -I ! -W "*.exe -k 'b'" ProjectName start
;; cvs checkout
cd foodir
cvs checkout projectname
cvs remove file
cvs add [-m msg] file/dir
cvs update
cvs commit
cvs status
;; local server
set CVSROOT=:local:c:/cvs
cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master login
;; cvs repository initialization
cvs init
;; cvs import a project
cd projectdir
cvs import [-m msg] projectname vender-tag start
;; handling binary files
;; -I ! : import all files
;; -W "*.exe -k 'b'" : treat *.exe as binary files
cvs import -I ! -W "*.exe -k 'b'" ProjectName start
;; cvs checkout
cd foodir
cvs checkout projectname
cvs remove file
cvs add [-m msg] file/dir
cvs update
cvs commit
cvs status