发新话题
打印

并行版本系统--CvsCommand

CvsCommand
1. Command List
Command Synonyms Summary
add ad,new Add a new file/directory to the repository.
admin adm,rcs Administration front end for rcs.
annotate ann Show last revision where each line was modified.
authserver  Authentication server mode.
chacl setacl,setperm Change the Access Control List for a directory.
checkout co,get Checkout sources for editing.
chown setowner Change the owner of a directory.
commit ci,com Check files into the repository.
diff di,dif Show differences between revisions.
edit  Get ready to edit a watched file.
editors  See who is editing a watched file.
export exp,ex Export sources from CVS, similar to checkout.
history hi,his Show repository access history.
import im,imp Import sources into CVS, using vendor branches.
init  Create a CVS repository if it doesn't exist.
info  Display information about all supported protocols.
log lo Print out history information for files.
login logon,lgn Prompt for password for authenticating server.
logout  Removes entry in password cache for remote repository.
ls dir,list List directories on the server.
lsacl lsattr,listperm List the directories' Access Control List.
passwd password,setpass Set password and administer users.
rannotate rann,ra Show last revision where each line of module was modified.
rdiff patch,pa Create 'patch' format diffs between releases.
release re,rel Indicate that a Module is no longer in use.
remove rm,delete Remove an entry from the repository.
rlog rl Print out history information for a module.
rtag rt,rfreeze Add a symbolic tag to a module.
server  Server mode.
status st,stat Display status information on checked out files.
tag ta,freeze Add a symbolic tag to checked out version of files.
unedit  Undo an edit command.
update up,upd Bring work tree in sync with repository.
version ve,ver Show current CVS version(s).
watch  Set watches.
watchers  See who is watching a file.
2. add
cvs add [-k rcs-kflag] [-m message] files...
· 
-k Use "rcs-kflag" to add the file with the specified kflag
-m Use "message" for the creation log.
3. admin
cvs admin [options] files...
THIS COMMAND BYPASSESS NORMAL CVS OPERATIONS. DO NOT USE THIS COMMAND UNLESS YOU KNOW THE CONSEQUENCES OF USING IT.
· 
-k Set keyword expansion flags:
Valid flags are one of: 
 t Text file (default).
 b Binary file (merges not allowed).
 B Binary file using binary deltas (merges not allowed).
 u Unicode (UCS-2) file.
 {...} Extended encoding type.
Followed by any of: 
 k Substitute keyword.
 v Substitute value.
 l Generate lockers name.
 o Checkout literally - don't expand keywords.
 L Generate Unix line endings on checkout.
 z Compress deltas in RCS file.
-l [rev] Lock revision (latest revision on branch, latest revision on trunk if omitted). DEPRECATED - USE 'edit -c'
-m rev:msg Replace revision's log message.
-o range Physically delete (outdate) specified range of revisions:
 rev1:rev2 Between rev1 and rev2, including rev1 and rev2.
 rev1::rev2 Between rev1 and rev2, excluding rev1 and rev2.
 rev: rev and following revisions on the same branch.
 rev:: After rev on the same branch.
 :rev rev and previous revisions on the same branch.
 ::rev Before rev on the same branch.
 rev Just rev.
-q Run quietly.
-t [file] Get descriptive text from fil

勤于思,敏于学

TOP

狠阿!很提倡中文的啊。
很多年以后,开始相信,所谓爱情,都是因为寂寞。 同时也更加的明白伤口是别人给予的耻辱,是自己坚持的幻觉。

TOP

恩,需要再增加一些功能说明会更好一些

有时间整理一下

欢迎访问西西的博客
http://crystaliris.bokee.com

TOP

我英文很差啊!拜托啊

很多年以后,开始相信,所谓爱情,都是因为寂寞。 同时也更加的明白伤口是别人给予的耻辱,是自己坚持的幻觉。

TOP

发新话题
本功能由奇虎问答实现

相关主题

标题 作者 最后发表
[站外] cvs版本控制工具   [转帖] admin 2008-08-03
点击阅读更多关于的相关帖子  更多相关主题