Concurrent Versions System
#navi(CVS): No child page like: CVS/FooCONTENTS
REFERENCES
Server | wiki.wivicom.co.jp |
---|---|
CVS_RSH | ssh |
CVSROOT | :ext:wiki.wivicom.co.jp:/home/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 add -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
% cvs checkout -D "2000-04-01 12:30:00 JST" hoge
その他の例
4/1/2000 1 month ago 2 hours ago 400000 seconds ago last year last Monday yesterday a fortnight ago 3/31/1992 10:00:07 PST January 23, 1987 10:05pm 22:00 GMT
注!! 日付や時間を指定する場合、time zone の指定がない場合UTC時間になります。