Concurrent Version System
Server | wiki.wivicom.co.jp |
---|---|
Repository | /share/cvsroot or /home/cvsroot |
CVS_RSH | ssh |
CVSROOT | :ext:wiki.wivicom.co.jp:/share/cvsroot |
importしたいdirの中に入って,余分なファイルを削除した後
% cvs import module_name vender_name tag
binary fileの混じったmoduleの登録(hoge.romがbinary fileの場合)
% cvs import -W "*.rom -k'b'" -m "comment" module_name vender_name tag
% cvs co module_name
% cd hoge % cvs ci -m "pon"
% cd hoge % cvs update
% cvs export -D tomorrow hoge (これをtarでかためて、 package のできあがり) % tar cvzf hoge.tar.gz hoge
tagをつける
% cvs tag "tag_name"
tagをとる
% cvs tag -d "tag_name"
binary file の追加
% cvs -kb (-m "comment") file_name
branch作成
% cvs tag -b branch_name
branchの取り出し
% cvs checkout -r branch_name module_name
trunkへbranchをmerge
[@trunk]% cvs update -j branch_name
branchへtrunkをmerge
[@branch]% cvs update -j branch_name -j HEAD