Concurrent Versions System

#navi(CVS): No child page like: CVS/Foo

CONTENTS


REFERENCES


概要

Serverwiki.wivicom.co.jp
CVS_RSHssh
CVSROOT:ext:wiki.wivicom.co.jp:/home/cvsroot

CVS import

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

% cvs co module_name

CVS commit

% cd hoge
% cvs ci -m "pon"

CVS update

% cd hoge
% cvs update

CVS export

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

CVS tag

tagをつける

% cvs tag "tag_name"

tagをとる

% cvs tag -d "tag_name"

CVS add

binary file の追加

% cvs add -kb (-m "comment") file_name

branchで作業

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時間になります。


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS