&size(24){&color(darkgreen){''Concurrent Versions System''};};
#navi
~''CONTENTS''
#contents
----
~''REFERENCES''
-[[Concurrent Versions System (in Japanese):http://www.linkclub.or.jp/~tumibito/soft-an/cvs/cvs-man/cvs-ja_toc.html]]
-[[CVSをssh経由で使用する:http://www2.i-e-c.co.jp/ssh5.html]]
-Emacs [[PCL-CVS>http://www.naney.org/comp/cvs/tool/pcl-cvs/]] package 結構便利?
-[[CVS View:http://wiki.wivicom.co.jp/cgi-bin/viewcvs.cgi]]
----

***概要 [#x37326ab]
|~Server|wiki.wivicom.co.jp|
|~CVS_RSH|ssh|
|~CVSROOT|:ext:wiki.wivicom.co.jp:/home/cvsroot|

***CVS import [#r5faa1eb]
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 checkout [#sa97a001]
 % cvs co module_name

***CVS commit [#w01bc34f]
 % cd hoge
 % cvs ci -m "pon"

***CVS update [#i52802ba]
 % cd hoge
 % cvs update

***CVS export [#ue16fb8d]
 % cvs export -D tomorrow hoge
 (これをtarでかためて、 package のできあがり)
 % tar cvzf hoge.tar.gz hoge

***CVS tag [#h5a0aa7d]
tagをつける
 % cvs tag "tag_name"
tagをとる
 % cvs tag -d "tag_name"

***CVS add [#gab9424b]
binary file の追加
 % cvs add -kb (-m "comment") file_name

***branchで作業 [#kb38e7f6]
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

***日付指定の書式 [#e430a87f]
 % 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
&color(red){注!! 日付や時間を指定する場合、time zone の指定がない場合UTC時間になります。};


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS