CVS命令深入研究 zz

2023-11-19

CVS命令深入研究
 
作者:leizhimin
日期:2006-11-2
 
环境:
Windows server 2003 sp1简体中文版
cvsnt-2.5.03.2260.msi
目录:
一、CVS命令整体结构
二、CVS帮助察看方法概述
三、CVS选项
四、CVS命令
五、CVS命令缩写
六、CVS命令详解
七、CVS实践
======================================================
一、CVS命令整体结构
cvs [ cvs_options ] cvs_command [ command_options ] [ command_args ]
 cvs
 cvs程序的名字.
 cvs_options
 一些会影响所有的cvs子命令的选项。这将在下面描述.
 cvs_command
 一个或多个不同的子命令。一些命令可以使用别名;命令的别名在相应命令的参考手册中有说明。只有两种情况可以忽略cvs_command: cvs -H 显示可选的命令列表,cvs -v 显示cvs自己的版本信息。
 command_options
 说明该命令的选项
 command_args
 这些命令的参数。
 不幸的是在cvs_options和command_options之间存在一些混淆。 -l,当作为一个cvs_option时,只会影响一些命令。当作为command_option时有不同的含义,并会影响更多的命令。换句话说,不要把以上的分类看的很严格。而应该参考相应命令的文档。
 

======================================================
二、CVS帮助察看方法概述
D:\>cvs
Usage: cvs [cvs-options] command [command-options-and-arguments]
  where cvs-options are -q, -n, etc.
    (specify --help-options for a list of options)
  where command is add, admin, etc.
    (specify --help-commands for a list of commands
     or --help-synonyms for a list of command synonyms)
  where command-options-and-arguments depend on the specific command
    (specify -H followed by a command name for command-specific help)
  Specify --help to receive this message
The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
    the CVSNT home page at [url]http://www.cvsnt.org/[/url]
翻译:
C:\>cvs
用法: cvs [cvs-options(cvs选项)] command(命令) [command-options-and-arguments(选项和主题)]
  cvs选项有-q, -n, 等等.
    (说明 --help-options 查看cvs选项列表)
  cvs的命令有 add, admin, 等等.
    (说明 --help-commands 查看所有命令
     或者 --help-synonyms 查看所有命令的缩写)
  选项和主题依赖于特定的cvs命令
    (说明 -H 放在命令名后,查看特定命令的帮助)
  Specify --help to receive this message
The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
    the CVSNT home page at [url]http://www.cvsnt.org/[/url]
======================================================
三、CVS选项
D:\>cvs --help-options
CVS global options (specified before the command name) are:
    -H              Displays usage information for command.
    -Q              Cause CVS to be really quiet.
    -q              Cause CVS to be somewhat quiet.
    -r              Make checked-out files read-only.
    -w              Make checked-out files read-write (default).
    -t              Show trace of program execution (repeat for more verbosity) -- try with -n.
    -v              CVS version and copyright.
    -T tmpdir       Use 'tmpdir' for temporary files.
    -e editor       Use 'editor' for editing log information.
    -d CVS_root     Overrides $CVSROOT as the root of the CVS tree.
    -f              Do not use the ~/.cvsrc file.
    -F file         Read command arguments from file.
    -z #            Use compression level '#' for net traffic.
    -c              Checksum files as they are sent to the server.
    -x              Encrypt all net traffic (fail if not encrypted).  Implies -a.
    -y              Encrypt all net traffic (if supported by protocol).  Implies -a.
    -a              Authenticate/sign all net traffic.
    -N              Supress network share error. (UNSUPPORTED OPTION)
    -s VAR=VAL      Set CVS user variable.
    -L              Override cvs library directory
    -C              Override cvs configuration directory
    -o[locale]      Translate between server and client locale.
                    Specifying a locale here overrides the default (autodetected on CVSNT 2.0.58+).
    -O              Disable client/server locale translation.
    --version       CVS version and copyright.
    --encrypt       Encrypt all net traffic (if supported by protocol).
    --authenticate  Authenticate all net traffic (if supported by protocol).
    --readonly      Server is read only for all users.
(Specify the --help option for a list of other help options)

======================================================
四、CVS命令
D:\>cvs --help-commands
CVS commands are:
        add          Add a new file/directory to the repository
        admin        Administration front end for rcs
        annotate     Show last revision where each line was modified
        chacl        Change the Access Control List for a directory
        checkout     Checkout sources for editing
        chown        Change the owner of a directory
        commit       Check files into the repository
        diff         Show differences between revisions
        edit         Get ready to edit a watched file
        editors      See who is editing a watched file
        export       Export sources from CVS, similar to checkout
        history      Show repository access history
        import       Import sources into CVS, using vendor branches
        init         Create a CVS repository if it doesn't exist
        info         Display information about supported protocols
        log          Print out history information for files
        login        Prompt for password for authenticating server
        logout       Removes entry in .cvspass for remote repository
        ls           List files in the repository
        lsacl        List the directories Access Control List
        passwd       Set the user's password (Admin: Administer users)
        authserver   Authentication server mode
        rannotate    Show last revision where each line of module was modified
        rdiff        Create 'patch' format diffs between releases
        release      Indicate that a Module is no longer in use
        remove       Remove an entry from the repository
        rename       Rename a file or directory
        rchacl       Change the Access Control List for a directory
        rchown       Change the owner of a directory
        rlsacl       List the directories Access Control List
        rlog         Print out history information for a module
        rtag         Add a symbolic tag to a module
        server       Server mode
        status       Display status information on checked out files
        tag          Add a symbolic tag to checked out version of files
        unedit       Undo an edit command
        update       Bring work tree in sync with repository
        version      Show current CVS version(s)
        watch        Set watches
        watchers     See who is watching a file
        xdiff        Show differences between revisions using an external diff program
(Specify the --help option for a list of other help options)

======================================================
五、CVS命令缩写
D:\>cvs --help-synonyms
CVS command synonyms are:
        add          ad new
        admin        adm rcs
        annotate     ann
        authserver   pserver
        chacl        setacl setperm
        checkout     co get
        chown        setowner
        commit       ci com
        diff         di dif
        export       exp ex
        history      hi his
        import       im imp
        info         inf
        log          lo
        login        logon lgn
        ls           dir list
        lsacl        lsattr listperm
        rlsacl       rlsattr rlistperm
        passwd       password setpass
        rannotate    rann ra
        rchacl       rsetacl rsetperm
        rchown       rsetowner
        rdiff        patch pa
        release      re rel
        remove       rm delete
        rename       ren mv
        rlog         rl
        rtag         rt rfreeze
        status       st stat
        tag          ta freeze
        update       up upd
        version      ve ver
        xdiff        xd
(Specify the --help option for a list of other help options)
======================================================
六、CVS命令详解
------------------
D:\>cvs -H add
Usage: cvs add [-k rcs-kflag] [-m message] files...
        -b <bugid>      Set the bug identifier (repeat for multiple bugs).
        -k      Use "rcs-kflag" to add the file with the specified kflag.
        -m      Use "message" for the creation log.
        -r <branch>     Add onto a different branch.
        -f      Force replacement of deleted files.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H admin
Usage: cvs admin [options] files...
        -l[rev]    Lock revision (latest revision on branch,
                   latest revision on trunk if omitted). (DEPRECIATED)
        -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.
        -p [rev:]prop=val Set global or versioned property.
        -q         Run quietly.
        -t[file]   Get descriptive text from file (stdin if omitted).
        -t-string  Set descriptive text.
        -u[rev]    Unlock the revision (latest revision on branch,
                   latest revision on trunk if omitted).
(Specify the --help global option for a list of other help options)

THIS COMMAND IS FOR CVS ADMINISTRATORS ONLY.  DON'T USE IT UNLESS YOU
KNOW EXACTLY WHAT YOU ARE DOING, AND WHAT THE CONSEQUENCES ARE.
------------------
D:\>cvs -H annotate
Usage: cvs 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 rev  Annotate file as of specified revision/tag.
        -D date Annotate file as of specified date.
        -w width        Modify width of username field (default 8).
(Specify the --help global option for a list of other help options)
------------------

D:\>cvs -H authserver
Usage: cvs authserver
  Normally invoked by a cvs client on a remote machine.
------------------

D:\>cvs -H chacl
Usage: cvs chacl [-R] [-r branch] [-u user] [-j branch] [-n] [-p priority] [-m message] [-a [no]{r
d|write|create|tag|control|all|none}[,...]] [-d] [file or directory...]
        -a access       Set access
        -d              Delete ACL
        -j branch       Apply when merging from branch
        -m message      Custom error message
        -n              Do not inherit ACL
        -p priority     Override ACL priority
        -r branch       Apply to single branch
        -R              Recursively change subdirectories
        -u user         Apply to single user
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H checkout
Usage:
  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      "cat" the module database.
        -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 rev  Check out revision or tag. (implies -P) (is sticky)
        -D date Check out revisions as of date. (implies -P) (is sticky)
        -d dir  Check out into dir instead of module name.
        -k kopt Use RCS kopt -k option on checkout. (is sticky)
        -j rev  Merge in changes made between current revision and rev.
        -b      Perform -j merge from branch point.
        -m      Perform -j merge from last merge point (default).
        -3      Produce 3-way conflicts.
        -S      Select between conflicting case sensitive names.
        -t      Update using last checkin time.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H chown
Usage: cvs chown [-R] user directory...
        -R      Change owner recursively
------------------
D:\>cvs -H commit
Usage: cvs commit [DnRlf] [-B bug | -b bug ] [-m msg | -F logfile] files...
        -b bugid        Only commit files related to bug.
        -B bugid        Mark files with bug.
        -c              Check for valid edits before committing.
        -D              Assume all files are modified.
        -F logfile      Read the log message from file.
        -e              Keep edited files.
        -f              Force the file to be committed; disables recursion.
        -n              Do not run the module program (if any).
        -l              Local directory only (not recursive).
        -m message      Log message.
        -R              Process directories recursively.
        -T              Move empty branches (where possible).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H diff
Usage: cvs diff [-lNR] [rcsdiff-options]
    [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...]
        -l      Local directory only, not recursive
        -R      Process directories recursively.
        -D d1   Diff revision for date against working file.
        -D d2   Diff rev1/date1 against date2.
        -N      include diffs for added and removed files.
        -r rev1 Diff revision for rev1 against working file.
        -r rev2 Diff rev1/date1 against rev2.
        --ifdef=arg     Output diffs in ifdef format.
(consult the documentation for your diff program for rcsdiff-options.
The most popular is -c for context diffs but there are many more).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H export
Usage: cvs 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 rev  Export revision or tag.
        -D date Export revisions as of date.
        -d dir  Export into dir instead of module name.
        -k kopt Use RCS kopt -k option on checkout.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H history
Usage: cvs history [-report] [-flags] [-options args] [files...]
   Reports:
        -T              Produce report on all TAGs
        -c              Committed (Modified) files
        -o              Checked out modules
        -m <module>     Look for specified module (repeatable)
        -x [TOEFWUCGMAReu] 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 <date>       Since date (Many formats)
        -b <str>        Back to record with str in module/file/repos field
        -f <file>       Specified file (same as command line) (repeatable)
        -n <modulename> In module (repeatable)
        -p <repos>      In repository (repeatable)
        -r <rev/tag>    Since rev or tag (looks inside RCS files!)
        -t <tag>        Since tag record placed in history file (by anyone).
        -u <user>       For user name (repeatable)
        -z <tz>         Output for time zone <tz> (e.g. -z -0700)
        -B <bugid>      Containing bug <bugid>
------------------
D:\>cvs -H import
Usage: cvs import [-C] [-d] [-f] [-h] [-k subst] [-I ign] [-m msg] [-b branch]
    [-W spec] [-n] [-F] repository [vendor-tag] [release-tags...]
        -C      Create CVS directories while importing.
        -d      Use the file's modification time as the time of import.
        -f      Overwrite existing release tags.
        -k sub  Set RCS keyword substitution mode.
        -I ign  More files to ignore (! to reset, @ to skip .cvsignore).
        -b bra  Vendor branch id.
        -m msg  Log message.
        -h      Include hidden files.
        -W spec Wrappers specification line (! to reset).
        -n      Don't create vendor branch or release tags.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H info
Usage: cvs info [-c|-s|-b|-r server] [cvswrappers|cvsignore|config|<protocol>]
        -c              Describe client (default)
        -s              Describe server
        -b              Browse local servers
        -r server       Examine public information from remote server
        -v              More verbose output
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H log
Usage: cvs log [-lRhtNbT] [-r[revisions]] [-B bugid] [-d dates] [-s states]
    [-w[logins]] [files...]
        -B bugid        Only list revisions related to bug.
        -b              Only list revisions on the default branch.
        -d dates        Specify dates (D1<D2 for range, D for latest before).
        -h              Only print header.
        -l              Local directory only, no recursion.
        -R              Only print name of RCS file.
        -r[revisions]   Specify revision(s)s to list.
                rev1:rev2       Between rev1 and rev2, including rev1 and rev2.
                rev1::rev2      Between rev1 and rev2, excluding rev1 and rev2.
                rev1:::rev2     Between rev1 and rev2, excluding rev1.
                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.
                branch          All revisions on the branch.
                branch.         The last revision on the branch.
        -S              Supress information when no revisions are selected.
        -T              Use local time not GMT.
        -t              Only print header and descriptive text.
        -N              Do not list tags.
        -w[logins]      Only list revisions checked in by specified logins.
        -X              cvs 1.x/RCS 5.7 compatible output.
        -x              cvsnt 2.x compatible output (default).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H login
Usage: cvs login [-p password]
        -p password     Specify password to use (default is to prompt)
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H ls
Usage: cvs ls [-q] [-e] [-l] [-R] [-r rev] [-D date] [-t] [modules...]
        -D date Show files from date.
        -e      Display in CVS/Entries format.
        -l      Display all details.
        -P      Ignore empty directories.
        -q      Quieter output.
        -R      List recursively.
        -r rev  Show files with revision or tag.
        -T      Show time in local time instead of GMT.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H lsacl
Usage: cvs lsacl [-d] [-R] [file or directory...]
        -d      Show directories only
        -R      Recurse unto subdirectories
------------------
D:\>cvs -H rlsacl
Usage: cvs rlsacl [-d] [-R] [module...]
        -d      Show directories only
        -R      Recurse unto subdirectories
------------------
D:\>cvs -H passwd
Usage: cvs 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
------------------
D:\>cvs -H rannotate
Usage: cvs 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 rev  Annotate file as of specified revision/tag.
        -D date Annotate file as of specified date.
        -w width        Modify width of username field (default 8).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H rchacl
Usage: cvs rchacl [-R] [-r branch] [-u user] [-j branch] [-n] [-p priority] [-m message] [-a [no]{
ad|write|create|tag|control|all|none}[,...]] [-d] [module...]
        -a access       Set access
        -d              Delete ACL
        -j branch       Apply when merging from branch
        -m message      Custom error message
        -n              Do not inherit ACL
        -p priority     Override ACL priority
        -r branch       Apply to single branch
        -R              Recursively change subdirectories
        -u user         Apply to single user
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H rchown
Usage: cvs rchown [-R] user module...
        -R      Change owner recursively
------------------
D:\>cvs -H rdiff
Usage: cvs 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 date Date.
        -r rev  Revision - symbolic or numeric.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H release
Usage: cvs release [-d [-f]] [-e] [-y] directories...
        -d      Delete the given directory.
        -f      Delete contents of directories including non-cvs files.
        -e      Delete CVS control files in the given directory (export).
        -y      Assume answer yes to all questions.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H remove
Usage: cvs remove [-flR] [files...]
        -f      Delete the file before removing it.
        -l      Process this directory only (not recursive).
        -R      Process directories recursively.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H rename
Usage: cvs rename [-q] <source> <target>
        -q      Quieter output.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H rlog
Usage: cvs rlog [-lRhtNbT] [-r[revisions]] [-B bugid] [-d dates] [-s states]
    [-w[logins]] [files...]
        -B bugid        Only list revisions related to bug.
        -b              Only list revisions on the default branch.
        -d dates        Specify dates (D1<D2 for range, D for latest before).
        -h              Only print header.
        -l              Local directory only, no recursion.
        -R              Only print name of RCS file.
        -r[revisions]   Specify revision(s)s to list.
                rev1:rev2       Between rev1 and rev2, including rev1 and rev2.
                rev1::rev2      Between rev1 and rev2, excluding rev1 and rev2.
                rev1:::rev2     Between rev1 and rev2, excluding rev1.
                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.
                branch          All revisions on the branch.
                branch.         The last revision on the branch.
        -S              Supress information when no revisions are selected.
        -T              Use local time not GMT.
        -t              Only print header and descriptive text.
        -N              Do not list tags.
        -w[logins]      Only list revisions checked in by specified logins.
        -X              cvs 1.x/RCS 5.7 compatible output.
        -x              cvsnt 2.x compatible output (default).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H rtag
Usage: cvs rtag [-abdFflnR] [-r rev|-D date] tag modules...
        -A      Make alias of existing branch (requires -r).
        -b      Make the tag a "branch" tag, allowing concurrent development.
        -d      Delete the given tag.
        -F      Move tag if it already exists.
        -B      Allow move/delete of branch tag (not recommended).
        -f      Force a head revision match if tag/date not found.
        -l      Local directory only, not recursive.
        -n      No execution of 'tag program'.
        -m message      Specify message for logs.
        -M      Create floating branch.
        -R      Process directories recursively.
        -r rev  Existing revision/tag.
        -D      Existing date.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H status
Usage: cvs status [-vlR] [files...]
        -v      Verbose format; includes tag information for the file
        -l      Process this directory only (not recursive).
        -R      Process directories recursively.
        -q      Display a quick summary of each file (send more increased terseness).
        -x      cvsnt 2.x compatible output (default).
        -X      cvs 1.x compatible output.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H tag
Usage: cvs tag [-bcdFflR] [-r rev|-D date] tag [files...]
        -A      Make alias of existing branch (requires -r).
        -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.
        -B      Allow move/delete of branch tag (not recommended).
        -f      Force a head revision match if tag/date not found.
        -l      Local directory only, not recursive.
        -m message      Specify message for logs.
        -M      Create floating branch.
        -R      Process directories recursively.
        -r rev  Existing revision/tag.
        -D      Existing date.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H update
Usage: cvs update [-ACPdflRpbmt] [-k kopt] [-r rev] [-D date] [-j rev]
    [-B bugid] [-I ign] [-W spec] [files...]
        -3      Produce 3-way conflicts.
        -A      Reset any sticky tags/date/kopts.
        -B bugid        Perform -j Merge bounded by bug.
        -b      Perform -j merge from branch point.
        -C      Overwrite locally modified files with clean repository copies.
        -c      Update base revision copies.
        -D date Set date to update from (is sticky).
        -d      Build directories, like checkout does.
        -e[bugid]       Automatically edit modified/merged files.
        -f      Force a head revision match if tag/date not found.
        -I ign  More files to ignore (! to reset).
        -j rev  Merge in changes made between current revision and rev.
        -k kopt Use RCS kopt -k option on checkout. (is sticky)
        -l      Local directory only, no recursion.
        -m      Perform -j merge from last merge point (default).
        -P      Prune empty directories.
        -p      Send updates to standard output (avoids stickiness).
        -R      Process directories recursively.
        -r rev  Update using specified revision/tag (is sticky).
        -S      Select between conflicting case sensitive names.
        -t      Update using last checkin time.
        -W spec Wrappers specification line (! to reset).
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H version
Usage: cvs version
        -q      Just display version number.
(Specify the --help global option for a list of other help options)
------------------
D:\>cvs -H xdiff
Usage: cvs xdiff [-lNR] [-o xdiff-options]
    [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...]
        -D d1   Diff revision for date against working file.
        -D d2   Diff rev1/date1 against date2.
        -N      include diffs for added and removed files.
        -R      Process directories recursively.
        -l      Local directory only, not recursive
        -o      Pass extra options to xdiff
        -r rev1 Diff revision for rev1 against working file.
        -r rev2 Diff rev1/date1 against rev2.
(consult the documentation for your xdiff extension for xdiff-options.
(Specify the --help global option for a list of other help options)
------------------
======================================================
七、CVS实践

------------------
1.添加二进制jar文件.
D:\Projects\TopUBP\lib\hibernate3>cvs add -kb *.jar
cvs server: scheduling file `hibernate3.jar' for addition
cvs server: scheduling file `ehcache-1.1.jar' for addition
cvs server: scheduling file `cglib-2.1.jar' for addition
cvs server: scheduling file `asm-attrs.jar' for addition
cvs server: scheduling file `asm.jar' for addition
cvs server: scheduling file `antlr-2.7.5H3.jar' for addition
cvs server: scheduling file `commons-lang-2.0.jar' for addition
cvs server: use 'cvs commit' to add these files permanently
D:\Projects\TopUBP\lib\hibernate3>cvs commit

转载于:https://www.cnblogs.com/IS2120/archive/2011/11/24/6745977.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

CVS命令深入研究 zz 的相关文章

  • 在 Java/Android 中检查字符串是否包含 URL 的最佳方法是什么?

    在 Java Android 中检查字符串是否包含 URL 的最佳方法是什么 最好的方法是检查字符串是否包含 com net org info 其他 或者有更好的方法吗 url 输入到 Android 中的 EditText 中 它可以是粘
  • Cassandra Pojo Sink Flink 中的动态表名称

    我是 Apache Flink 的新手 我正在使用 Pojo Sink 将数据加载到 Cassandra 中 现在 我在以下命令的帮助下指定表和键空间名称 Table注解 现在 我想在运行时动态传递表名称和键空间名称 以便可以将数据加载到用
  • 如何将 Excel 中的图表导出为图形

    我有一系列 Excel 电子表格 每个电子表格至少包含一页数据和一页根据数据创建的图表 我需要捕获 不从数据中重新生成 将现有图表作为网络友好图像 这可以通过 Java 或 Net 实现吗 我知道 POI 的东西 Java 不会这样做 或者
  • 可以显式删除 lambda 的序列化支持

    As 已经知道 https stackoverflow com a 22808112 2711488很容易添加序列化当目标接口尚未继承时支持 lambda 表达式Serializable 就像 TargetInterface Seriali
  • Lambda 表达式更慢?

    我有下面这段代码 PriorityQueue
  • 如何使 java.text.NumberFormat 将 0.0d 格式设置为“0”而不是“+0”?

    需要带符号的结果 0 0d 除外 IE 123 45d gt 123 45 123 45d gt 123 45 0 0d gt 0 我调用format setPositivePrefix 在 DecimalFormat 的实例上 强制结果中
  • 当目标是属性时,@Throws 不起作用

    在看的同时这个问题 https stackoverflow com q 47737288 7366707 我注意到申请 Throws to a get or setuse site 没有影响 此外 唯一有效的目标 for Throws ar
  • Android 3.1 USB 主机 - BroadcastReceiver 未收到 USB_DEVICE_ATTACHED

    我经历过USB 主机的描述和示例位于developer android com http developer android com guide topics usb host html检测连接和分离的 USB 设备 如果我在清单文件中使用
  • Spring Data (JPA) 多个存储库,没有很多类

    在我当前的项目中 我使用 Spring Data JPA 并且有 20 多个 Entity类 我想为它们创建存储库 但创建另一个类 每个类适用于任何模型 Repository注释似乎是某种矫枉过正和大量 重复 代码 所有存储库类将如下所示
  • kafka消费端Offsets的一致性

    我有复制因子为 3 的卡夫卡主题min insync replicas 2 一个向该主题发送 X 条消息的生产者acks all 一段时间后 1 分钟内 在所有消息发送到主题后 将使用 java kafka 客户端为此主题创建新的消费者 使
  • 何时使用 clone() 以及 addAll() 和 add() 的实际工作原理

    我正在使用 Java 和 MySQL 我的项目中有大约 60 个交易屏幕 我曾经用过add and addAll 复制的功能ArrayList 例如 List
  • 如何查找给定字符串中仅出现一次的第一个字符[关闭]

    就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
  • 改造添加带有令牌和 ID 的标头

    我在获取经过身份验证的用户时遇到问题 在此之前我得到了令牌和用户 ID 现在我需要使用访问令牌和 ID 从服务器获取用户 我有标题格式 https i stack imgur com OQ87Y png 现在我尝试使用拦截器添加带有用户令牌
  • 如何自定义 JFrame 上的标题栏?

    我想在我的 Java Swing 桌面应用程序中拥有一个自定义的标题栏 最好的方法是什么 我可以通过在 JFrame 的构造函数中使用以下代码来使用 Swing 标题栏 this setUndecorated true this getRo
  • 飞碟中的外部 CSS

    我想知道如何在 Flying Saucer 中包含外部 CSS 在此之前THB我检查了所有可用的链接StackOverflow但它们没有帮助 这就是为什么我自己做这个的原因 TestCSS xhtml重命名版本TestCSS html 所以
  • 在单独的模块中使用 Spring AOP 方面

    我在一个 Maven 项目模块中有一个方面 com x NiceAspect 在一个单独的 Maven 模块中有一个类 com x NiceClass 这些模块具有相同的 POM 父级 共同创建一个项目 我想要实现的目标是拥有一个通用的方面
  • 如果在构造函数中使用 super 调用重写方法会发生什么

    有两个班级Super1 and Sub1 超1级 public class Super1 Super1 this printThree public void printThree System out println Print Thre
  • android中ScrollView中的图像

    在我的应用程序中 我想放置一个 png 文件 并且希望它在横向和纵向模式下都被视为滚动图像 请建议代码或示例 要使您的 Imageview 在高度不适合时滚动 您可以在 xml 中的 ScrollView 内添加一个 ImageView 并
  • 使用基于Optional内容的流

    我从不受我控制的服务获取可能为空的地图 并且想要处理它 比方说 过滤 映射并减少到我需要的单个元素 问题 是否有从Optional到Stream的 链接 我尝试过 除其他外 return Optional ofNullable getMap
  • Java:将秒转换为分钟、小时和天[重复]

    这个问题在这里已经有答案了 任务是 输出应如下所示 最好回显输入 您输入了 500 000 秒 即 5 天 18 小时 53 分钟 20 秒 5天18 53 20小时 我该怎么做呢 最容易理解和做到的方法是什么 讲师还说 没有硬编码 我不太

随机推荐

  • 安装12.04lts的两个问题总结

    因为在win7下有很多bug 老师叫我用Linux来完成项目的最后一步 啊啊啊 之前一直是在虚拟机里面搞 安装Ubuntu的过程中遇到了好多个问题 好吧好吧 下面总结一下 让遇到同样问题的朋友少走点弯路吧 1 分区问题 建立 主分区 之后
  • 数据操作之-dataframe常见操作:取行、列、切片、统计特征值

    import numpy as np import pandas as pd from pandas import from numpy import data DataFrame np arange 16 reshape 4 4 inde
  • Spring Boot 学习研究笔记(十八) 添加log4j2日志文件

    Spring Boot 添加log4j2日志文件 对于一个线上程序或者服务而言 重要的是要有日志输出 这样才能方便运维 而日志的输出需要有一定的规划 如日志命名 日志大小 日志分割的文件个数等 在SpringBoot的框架下 会使用log4
  • 栈头文件C语言

    Stack ADT h 栈模型头文件 数据类型定义 typedef char Name typedef struct stack node Name name struct stack node next Stack Node typede
  • GD32450i-EVAL学习笔记 6 - ADC

    目录 1 初始化ADC 1 1 使能RCU 1 2 设置频率 1 3 设置分辨率 1 4 设置数据对齐方式 1 5 使能扫描模式 1 6 设置触发模式 1 6 使能ADC 2 初始化通道规则 3 通道使能 4 软件触发使能 5 获取ADC的
  • C#List类容输出

    将集合中的类容 添加间隔符号后 输出为string List
  • vue之babel自动埋点

    公司项目是vue单页面技术 这天组长对我说 为了凸显我们的作用 做点外行或者新手看起来高深的东西 例如自动埋点 当时我的表情先是 然后摸鱼摸习惯了 就是这种状态 最后组长说领导的态度决定我们的绩效 没办法 为了money 无奈打开了老朋友
  • nacos集群部署遇到的问题总结

    问题一 内存不足 问题描述 nacos is starting with cluster Error occurred during initialization of VM Could not reserve enough space f
  • Eclipse android apk打包

    Eclipse android 开发更改apk名字 有以下几步 第一步 修改工程包名 在eclipse里 找到项目包和java包 原则上都一样 就可以按 F2 修改名字 随之 源 java也会得到相应的修改 然而每个 java文件都需要把如
  • Fortify 代码扫描安装使用教程

    前言 Fortify 能够提供静态和动态应用程序安全测试技术 以及运行时应用程序监控和保护功能 为实现高效安全监测 Fortify具有源代码安全分析 可精准定位漏洞产生的路径 以及具有1分钟1万行的扫描速度 Fortify SCA 支持丰富
  • 现在投资创客教育

    很多人会问创客要不要投资 就像吃西红柿鸡蛋面要不要用刀叉一样 你当然可以用 也可以用筷子 格物斯坦表示如果没有筷子 喜欢用手抓着吃也是可以的啊 投资人是路径的一种 不是唯一 更不是全部 投资创客教育是教育培训行业比较热门的话题 该行业未来是
  • Python基础语法学习之变量与赋值

    近几年Python飞速发展 开始学习Python的人群不在仅仅局限于编程开发者 许多其他行业的从业者也开始将Python作为自己的职业技能 本文仍然是针对零基础的初学者 继续学习Python的基础语法 变量与赋值 主要内容包括变量和赋值的概
  • el-checkbox-group限制勾选数量

  • 代理模式:静态代理和动态代理

    代理模式 代理对象增强对目标对象的功能 分类 静态代理 动态代理 jdk代理通过实现接口 cglib通过实现类实现 静态代理 JDK动态代理 CGLIB代理模式 通过回调拦截器方法实现代理对象的生成
  • 【计算机视觉】直接线性变换(DLT)求解P矩阵(2 使用SVD分解)(附MATLAB代码)

    引言 之前的帖子已经完成了一种计算直接线性变换的方法 是直接通过矩阵运算来进行的 不过随后得到的结果并不能满足精度要求 如果只是用来作为迭代优化的一个初值的话 对于精度的要求倒也不用那么高 但在查阅资料时又发现了另一种解法 是通过SVD分解
  • DataFrame对象创建

    文章目录 前言 一 创建DataFrame对象 二 使用步骤 前言 一 创建DataFrame对象 示例 将字典 年龄 23 22 21 岗位 客服 运营 公关 年购买量 10 15 8 转换成一个DataFrame对象 二 使用步骤 代码
  • 搭建主数据管理平台,解决多个系统数据不统一的问题

    如今的电子产业环境要求电子制造商必须能对产业中的各种变化做出迅速的反应 而这些变化产生了前所未有的大量数据 包括来自产品类别增加 供应中断和需求波动以及其它因素等多方面的数据 这些数据以多种格式存在于各种系统之中 虽然 企业为管理它们花费了
  • FastAPI准备之pydantic类型检查工具

    官方文档 https pydantic docs helpmanual io 这些组织都在用 Jupyter notebook FastAPI Amazon Web Services Uber Microsoft 优势 可以和IDE结合 可
  • hbase与spark笔试题(选择题)

    转自 https www cnblogs com cxzdy p 5388451 html http www bigdatastudy net show aspx id 175 cid 14 一 HBASE笔试题 HBase来源于哪篇博文
  • CVS命令深入研究 zz

    CVS命令深入研究 作者 leizhimin 日期 2006 11 2 环境 Windows server 2003 sp1简体中文版 cvsnt 2 5 03 2260 msi 目录 一 CVS命令整体结构 二 CVS帮助察看方法概述 三