[本站首页] [管理页面] [写新日志] [退出]

朝为田舍郎,暮登天子堂,将相本无种,男儿当自强。
首页(178) Hibernate(10) JAVA(19) Web(15) Struts(7) 口水(9) Ides(18) 其它(51) AJAX(6) database(29) 
Blog信息

blog名称:四裤全输的小窝~~
日志总数:178
评论数量:699
留言数量:198
访问次数:1155227
建立时间:2005年10月29日

Blog内搜索



日志更新

谷歌地图定位偏移解决方法
【转】利用Windows内置的命令作端口
WIN2003服务器安全加固方案
[转]sql server 日期比较、日
MediaCoder 一般参数设置
[转]VMware中创建共享磁盘阵列的方
缓解vss共享文件夹的安全隐患问题(转)
Delphi 中调用JavaScript
微软的官方方法:延长Windows Se
cxGrid 过滤 排序后 取选中记录的

最新评论

回复:谷歌地图定位偏移解决方法
回复:谷歌地图定位偏移解决方法
回复:WIN2003服务器安全加固方案
回复:cxGrid 过滤 排序后 取选中
回复:TreeView 父节点 子节点 
回复:[转]Oracle Instead
回复:DWR 官方下载地址
ugg  boots
回复:cxGrid 过滤 排序后 取选中
回复:DWR 官方下载地址

友情链接

biglin's Blog
NoisyRam's Blog
Stone's Blog
Kevin 的小家
『知』治通鉴

留言板




[其它]CVS 命令
文章收藏,  软件技术,  电脑与网络 四裤全输 发表于 2006/10/8 16:07:40

使用ssh登陆,用命令行的方式管理 基本命令:addcvs 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.   admincvs admin [options] files... -a usersAppend (comma-separated) user names to access list. -A fileAppend another file's access list. -b [rev]Set default branch (highest branch on trunk if omitted). -c stringSet comment leader. -e [users]Remove (comma-separated) user names from access list (all names if omitted). -IRun interactively. -kSet keyword substitution mode:   kv(Default) Substitue keyword and value.   kvlSubstitue keyword, value, and locker (if any).   kSubstitue keyword only.   oPreserve original string.   bLike o, but mark file as binary.   uMark file as unicode   vSubstitue value only. -l [rev]Lock revision (latest revision on branch, latest revision on trunk if omitted). -L Set strict locking. -m rev:msgReplace revision's log message. -n tag[:[rev]]Tag branch or revision. If :rev is omitted, delete the tag; if rev is omitted, tag the latest revision on the default branch. -N tag[:[rev]]Same as -n except override existing tag. -o rangeDelete (outdate) specified range of revisions:   rev1:rev2Between rev1 and rev2, including rev1 and rev2.   rev1::rev2Between rev1 and rev2, excluding rev1 and rev2.   rev:rev and following revisions on the same branch.   rev::After rev on the same branch.   :revrev and previous revisions on the same branch.   ::revBefore rev on the same branch.   revJust rev. -qRun quietly. -s state[:rev]Set revision state (latest revision on branch, latest revision on trunk if omitted). -t [file]Get descriptive text from file (stdin if omitted). -t-stringSet descriptive text. -u [rev]Unlock the revision (latest revision on branch, latest revision on trunk if omitted). -UUnset strict locking.   annotatecvs annotate [-lRf] [-r rev] [-D date] [files...] -l Local directory only, no recursion. -R Process directories recursively. -f Use head revision if tag/date not found. -r revAnnotate file as of specified revision/tag. -D dateAnnotate file as of specified date.   chaclcvs chacl -R [-r tag] {user|default}:[{[r][w][c]|[n]}] [directory...] -R Recursively set permissions -r tagSet permissions on specific branch   checkout cvs checkout [-ANPRcflnps] [-r rev] [-D date] [-d dir] [-j rev1] [-j rev2] [-k kopt] modules... -A Reset any sticky tags/date/kopts. -N Don't shorten module paths if -d specified. -P Prune empty directories. -R Process directories recursively. -c Show the contents of the CVSROOT/modules file. -f Force a head revision match if tag/date not found. -l Local directory only, not recursive. -n Do not run module program (if any). -p Check out files to standard output (avoids stickiness). -s Like -c, but include module status. -r revCheck out revision or tag. (implies -P) (is sticky) -D dateCheck out revisions as of date. (implies -P) (is sticky) -d dirCheck out into dir instead of module name. -k koptUse RCS kopt -k option on checkout. (is sticky) -j revMerge in changes made between current revision and rev.   chowncvs chown user directory... commitcvs commit [-nRlf] [-m msg | -F logfile] [-r rev] files... -n Do not run the module program (if any). -R Process directories recursively. -l Local directory only (not recursive). -f Force the file to be committed; disables recursion. -F logfileRead the log message from file. -r revCommit to this branch or trunk revision. -c Check for valid edits before committing.   diffcvs diff [-lNR] [rcsdiff-options] [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...] -l Local directory only, not recursive. -R Process directories recursively. -D d1Diff revision for date against working file. -D d2Diff rev1/date1 against date2. -NInclude diffs for added and removed files. -r rev1Diff revision for rev1 against working file. -r rev2Diff rev1/date1 against rev2. --ifdef=argOutput diffs in ifdef format. -cContext diff -uUnified diff   editcvs edit [-cflR] [files...] -c Check that working files are unedited. -f Force edit if working files are edited (default). -l Local directory only, not recursive. -R Process directories recursively (default). -a Specify what actions for temporary watch, one of edit,unedit,commit,all,none   editorscvs editors [-lR] [files...] -l -l Process this directory only (not recursive). -R -R Process directories recursively.   exportcvs export [-NRfln] [-r rev] [-D date] [-d dir] [-k kopt] module... -N Don't shorten module paths if -d specified. -f Force a head revision match if tag/date not found. -l Local directory only, not recursive. -R Process directories recursively (default). -n Do not run module program (if any). -r revExport revision or tag. -D dateExport revisions as of date. -d dirExport into dir instead of module name. -k koptUse RCS kopt -k option on checkout.   historycvs history [-report] [-flags] [-options args] [files...]Reports:   -T Produce report on all TAGs. -c Committed (Modified) files. -o Checked out modules. -m moduleLook for specified module (repeatable) -x [type][TOEFWUCGMAR] Extract by record type . -e Everything (same as -x, but all record types). Flags:   -a All users (Default is self). -l Last modified (committed or modified report). -w Working directory must match. Options:   -D dateSince date (Many formats). -b strBack to record with str in module/file/repos field. -f fileSpecified file (same as command line) (repeatable). -n moduleIn module (repeatable). -p repoIn repository (repeatable). -r revSince rev or tag (looks inside RCS files!). -t tagSince tag record placed in history file (by anyone). -u userFor user name (repeatable). -z timezoneOutput for time zone <> (e.g. -z -0700).   importcvs import [-d] [-k subst] [-I ign] [-m msg] [-b branch] [-W spec] repository vendor-tag release-tags... -d Use the file's modification time as the time of import. -k subSet default RCS keyword substitution mode. -I ignMore files to ignore (! to reset). -b braVendor branch id. -m msgLog message. -W specWrappers specification line.   initcvs init logcvs log [-lRhtNb] [-r[revisions]] [-d dates] [-s states] [-w[logins]] [files...] -l Local directory only, no recursion. -R Only print name of RCS file. -h Only print header. -t Only print header and descriptive text. -N Do not list tags. -b Only list revisions on the default branch. -r [revisions]Specify revision(s)s to list:   rev1:rev2Between rev1 and rev2, including rev1 and rev2.   rev1:rev2Between rev1 and rev2, excluding rev1 and rev2.   rev:rev and following revisions on the same branch.   rev::After rev on the same branch.   :revrev and previous revisions on the same branch.   ::revBefore rev on the same branch.   revJust rev.   branchAll revisions on the branch.   branch.The last revision on the branch. -d datesSpecify dates (D1< for="" rang="" d="" latest="" before). -s statesOnly list revisions with specified states. -w [logins]Only list revisions checked in by specified logins.   logincvs login logoutcvs logout lscvs ls [-q] [-e] [-l] [-R] [-r rev] [-D date] [modules...] -q Quieter Output. -e Display in CVS/Entries format. -l Display all details. -R List recursively. -r revShow files with revision or tag. -D dateShow files from date.   lsaclcvs lsacl [directory...]passwdcvs passwd [-a] [-x] [-X] [-r real_user] [-R] [-D domain] [username] -a Add user. -x Disable user. -X Delete user. -r Alias username to real system user. -R Remove alias to real system user. -D Use domain password (Win32 only).   authservercvs authserverNormally invoked by a cvs client on a remote machine. rannotatecvs rannotate [-lRf] [-r rev] [-D date] [files...] -l Local directory only, no recursion. -R Process directories recursively. -f Use head revision if tag/date not found. -r revAnnotate file as of specified revision/tag. -D dateAnnotate file as of specified date.   rdiffcvs rdiff [-flR] [-c|-u] [-s|-t] [-V %d] -r rev|-D date [-r rev2 | -D date2] modules... -f Force a head revision match if tag/date not found. -l Local directory only, not recursive. -R Process directories recursively. -c Context diffs (default). -u Unidiff format. -s Short patch - one liner per file. -t Top two diffs - last change made to the file. -D dateDate. -r revRevision - symbolic or numeric. -V versUse RCS Version "vers" for keyword expansion.   releasecvs release [-d] directories... -d Delete the given directory.   removecvs remove [-flR] [files...] -f Delete the file before removing it. -l Process this directory only (not recursive). -R Process directories recursively.   rlogcvs rlog [-lRhtNb] [-r[revisions]] [-d dates] [-s states] [-w[logins]] [files...] -l Local directory only, no recursion. -R Only print name of RCS file. -h Only print header. -t Only print header and descriptive text. -N Do not list tags. -b Only list revisions on the default branch. -r [revisions]Specify revision(s)s to list:   rev1:rev2Between rev1 and rev2, including rev1 and rev2.   rev1::rev2Between rev1 and rev2, excluding rev1 and rev2.   rev:rev and following revisions on the same branch.   rev::After rev on the same branch.   :revrev and previous revisions on the same branch.   ::revBefore rev on the same branch.   revJust rev.   branchAll revisions on the branch.   branch.The last revision on the branch. -d datesSpecify dates (D1< for="" rang="" d="" latest="" before). -s statesOnly list revisions with specified states. -w [logins]Only list revisions checked in by specified logins.   rtagcvs rtag [-abdFflnR] [-r rev|-D date] tag modules... -a Clear tag from removed files that would not otherwise be tagged. -b Make the tag a "branch" tag, allowing concurrent development. -d Delete the given tag. -F Move tag if it already exists. -f Force a head revision match if tag/date not found. -l Local directory only, not recursive. -n No execution of 'tag program'. -R Process directories recursively. -r revExisting revision/tag. -D dateExisting date.   servercvs serverstatuscvs status [-vlR] [files...] -v Verbose format; includes tag information for the file. -l Process this directory only (not recursive). -R rocess directories recursively. -q Display a quick summary of each file (send more for increased terseness).   tagcvs tag [-bcdFflR] [-r rev|-D date] tag [files...] -b Make the tag a "branch" tag, allowing concurrent development. -c Check that working files are unmodified. -d Delete the given tag. -F Move tag if it already exists. -f Force a head revision match if tag/date not found. -l Local directory only, not recursive. -R Process directories recursively. -r revExisting revision/tag. -D dateExisting date.   uneditcvs unedit [-lR] [files...] -l Local directory only, not recursive . -R Process directories recursively.   updatecvs update [-APCdflRp] [-k kopt] [-r rev] [-D date] [-j rev] [-I ign] [-W spec] [files...] -A Reset any sticky tags/date/kopts. -P Prune empty directories. -C Overwrite locally modified files with clean repository copies. -d Build directories, like checkout does. -f Force a head revision match if tag/date not found. -l Local directory only, no recursion. -R Process directories recursively. -p Send updates to standard output (avoids stickiness). -k koptUse RCS kopt -k option on checkout. (is sticky) -r revUpdate using specified revision/tag (is sticky). -D dateSet date to update from (is sticky). -j revMerge in changes made between current revision and rev. -I ignMore files to ignore (! to reset). -W specWrappers specification line.   versioncvs version watchcvs watch [on|off|add|remove] [-lR] [-a action] [files...] on/offturn on/off read-only checkouts of files. add/removeadd or remove notification on actions. -l(on/off/add/remove): Local directory only, not recursive . -R (on/off/add/remove): Process directories recursively . -a (add/remove): Specify what actions, one ofedit,unedit,commit,all,none   watcherscvs watchers [-lR] [files...] -l Process this directory only (not recursive). -R Process directories recursively  


阅读全文(3223) | 回复(0) | 编辑 | 精华


发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)
站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.230 second(s), page refreshed 144786304 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号