home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cvs-1.8.7-bin.lha / info / cvs.info-4 < prev    next >
Encoding:
GNU Info File  |  1996-10-12  |  47.6 KB  |  1,449 lines

  1. This is Info file cvs.info, produced by Makeinfo-1.64 from the input
  2. file /ade-src/fsf/cvs/doc/cvs.texinfo.
  3.  
  4.    Copyright (C) 1992, 1993 Signum Support AB Copyright (C) 1993, 1994
  5. Free Software Foundation, Inc.
  6.  
  7.    Permission is granted to make and distribute verbatim copies of this
  8. manual provided the copyright notice and this permission notice are
  9. preserved on all copies.
  10.  
  11.    Permission is granted to copy and distribute modified versions of
  12. this manual under the conditions for verbatim copying, provided also
  13. that the section entitled "GNU General Public License" is included
  14. exactly as in the original, and provided that the entire resulting
  15. derived work is distributed under the terms of a permission notice
  16. identical to this one.
  17.  
  18.    Permission is granted to copy and distribute translations of this
  19. manual into another language, under the above conditions for modified
  20. versions, except that the section entitled "GNU General Public License"
  21. and this permission notice may be included in translations approved by
  22. the Free Software Foundation instead of in the original English.
  23.  
  24. 
  25. File: cvs.info,  Node: admin examples,  Prev: admin options,  Up: admin
  26.  
  27. admin examples
  28. --------------
  29.  
  30. Outdating is dangerous
  31. ......................
  32.  
  33.    First, an example of how *not* to use the `admin' command.  It is
  34. included to stress the fact that this command can be quite dangerous
  35. unless you know *exactly* what you are doing.
  36.  
  37.    The `-o' option can be used to "outdate" old revisions from the
  38. history file.  If you are short on disc this option might help you.
  39. But think twice before using it--there is no way short of restoring the
  40. latest backup to undo this command!
  41.  
  42.    The next line is an example of a command that you would *not* like
  43. to execute.
  44.  
  45.      $ cvs admin -o:R_1_02 .
  46.  
  47.    The above command will delete all revisions up to, and including,
  48. the revision that corresponds to the tag R_1_02.  But beware!  If there
  49. are files that have not changed between R_1_02 and R_1_03 the file will
  50. have *the same* numerical revision number assigned to the tags R_1_02
  51. and R_1_03.  So not only will it be impossible to retrieve R_1_02;
  52. R_1_03 will also have to be restored from the tapes!
  53.  
  54. Comment leaders
  55. ...............
  56.  
  57.    If you use the `$Log$' keyword and you do not agree with the guess
  58. for comment leader that CVS has done, you can enforce your will with
  59. `cvs admin -c'.  This might be suitable for `nroff' source:
  60.  
  61.      $ cvs admin -c'.\" ' *.man
  62.      $ rm *.man
  63.      $ cvs update
  64.  
  65.    The two last steps are to make sure that you get the versions with
  66. correct comment leaders in your working files.
  67.  
  68. 
  69. File: cvs.info,  Node: checkout,  Next: commit,  Prev: admin,  Up: Invoking CVS
  70.  
  71. checkout--Check out sources for editing
  72. =======================================
  73.  
  74.    * Synopsis: checkout [options] modules...
  75.  
  76.    * Requires: repository.
  77.  
  78.    * Changes: working directory.
  79.  
  80.    * Synonyms: co, get
  81.  
  82.    Make a working directory containing copies of the source files
  83. specified by MODULES.  You must execute `checkout' before using most of
  84. the other CVS commands, since most of them operate on your working
  85. directory.
  86.  
  87.    The MODULES part of the command are either symbolic names for some
  88. collection of source directories and files, or paths to directories or
  89. files in the repository.  The symbolic names are defined in the
  90. `modules' file.  *Note modules::.
  91.  
  92.    Depending on the modules you specify, `checkout' may recursively
  93. create directories and populate them with the appropriate source files.
  94. You can then edit these source files at any time (regardless of
  95. whether other software developers are editing their own copies of the
  96. sources); update them to include new changes applied by others to the
  97. source repository; or commit your work as a permanent change to the
  98. source repository.
  99.  
  100.    Note that `checkout' is used to create directories.  The top-level
  101. directory created is always added to the directory where `checkout' is
  102. invoked, and usually has the same name as the specified module.  In the
  103. case of a module alias, the created sub-directory may have a different
  104. name, but you can be sure that it will be a sub-directory, and that
  105. `checkout' will show the relative path leading to each file as it is
  106. extracted into your private work area (unless you specify the `-Q'
  107. global option).
  108.  
  109.    The files created by `checkout' are created read-write, unless the
  110. `-r' option to CVS (*note Global options::.) is specified, the
  111. `CVSREAD' environment variable is specified (*note Environment
  112. variables::.), or a watch is in effect for that file (*note Watches::.).
  113.  
  114.    Running `checkout' on a directory that was already built by a prior
  115. `checkout' is also permitted, and has the same effect as specifying the
  116. `-d' option to the `update' command, that is, any new directories that
  117. have been created in the repository will appear in your work area.
  118. *Note update::.
  119.  
  120. * Menu:
  121.  
  122. * checkout options::            checkout options
  123. * checkout examples::           checkout examples
  124.  
  125. 
  126. File: cvs.info,  Node: checkout options,  Next: checkout examples,  Up: checkout
  127.  
  128. checkout options
  129. ----------------
  130.  
  131.    These standard options are supported by `checkout' (*note Common
  132. options::., for a complete description of them):
  133.  
  134. `-D DATE'
  135.      Use the most recent revision no later than DATE.  This option is
  136.      sticky, and implies `-P'.  See *Note Sticky tags::, for more
  137.      information on sticky tags/dates.
  138.  
  139. `-f'
  140.      Only useful with the `-D DATE' or `-r TAG' flags.  If no matching
  141.      revision is found, retrieve the most recent revision (instead of
  142.      ignoring the file).
  143.  
  144. `-k KFLAG'
  145.      Process RCS keywords according to KFLAG.  See co(1).  This option
  146.      is sticky; future updates of this file in this working directory
  147.      will use the same KFLAG.  The `status' command can be viewed to
  148.      see the sticky options.  *Note status::.
  149.  
  150. `-l'
  151.      Local; run only in current working directory.
  152.  
  153. `-n'
  154.      Do not run any checkout program (as specified with the `-o' option
  155.      in the modules file; *note modules::.).
  156.  
  157. `-P'
  158.      Prune empty directories.
  159.  
  160. `-p'
  161.      Pipe files to the standard output.
  162.  
  163. `-r TAG'
  164.      Use revision TAG.  This option is sticky, and implies `-P'.  See
  165.      *Note Sticky tags::, for more information on sticky tags/dates.
  166.  
  167.    In addition to those, you can use these special command options with
  168. `checkout':
  169.  
  170. `-A'
  171.      Reset any sticky tags, dates, or `-k' options.  See *Note Sticky
  172.      tags::, for more information on sticky tags/dates.
  173.  
  174. `-c'
  175.      Copy the module file, sorted, to the standard output, instead of
  176.      creating or modifying any files or directories in your working
  177.      directory.
  178.  
  179. `-d DIR'
  180.      Create a directory called DIR for the working files, instead of
  181.      using the module name.  Unless you also use `-N', the paths
  182.      created under DIR will be as short as possible.
  183.  
  184. `-j TAG'
  185.      With two `-j' options, merge changes from the revision specified
  186.      with the first `-j' option to the revision specified with the
  187.      second `j' option, into the working directory.
  188.  
  189.      With one `-j' option, merge changes from the ancestor revision to
  190.      the revision specified with the `-j' option, into the working
  191.      directory.  The ancestor revision is the common ancestor of the
  192.      revision which the working directory is based on, and the revision
  193.      specified in the `-j' option.
  194.  
  195.      In addition, each -j option can contain an optional date
  196.      specification which, when used with branches, can limit the chosen
  197.      revision to one within a specific date.  An optional date is
  198.      specified by adding a colon (:) to the tag:
  199.      `-jSYMBOLIC_TAG:DATE_SPECIFIER'.
  200.  
  201.      *Note Merging::.
  202.  
  203. `-N'
  204.      Only useful together with `-d DIR'.  With this option, CVS will
  205.      not shorten module paths in your working directory.  (Normally,
  206.      CVS shortens paths as much as possible when you specify an
  207.      explicit target directory).
  208.  
  209. `-s'
  210.      Like `-c', but include the status of all modules, and sort it by
  211.      the status string.  *Note modules::, for info about the `-s'
  212.      option that is used inside the modules file to set the module
  213.      status.
  214.  
  215. 
  216. File: cvs.info,  Node: checkout examples,  Prev: checkout options,  Up: checkout
  217.  
  218. checkout examples
  219. -----------------
  220.  
  221.    Get a copy of the module `tc':
  222.  
  223.      $ cvs checkout tc
  224.  
  225.    Get a copy of the module `tc' as it looked one day ago:
  226.  
  227.      $ cvs checkout -D yesterday tc
  228.  
  229. 
  230. File: cvs.info,  Node: commit,  Next: diff,  Prev: checkout,  Up: Invoking CVS
  231.  
  232. commit--Check files into the repository
  233. =======================================
  234.  
  235.    * Version 1.3 Synopsis: commit [-lnR] [-m 'log_message' | -f file]
  236.      [-r revision] [files...]
  237.  
  238.    * Version 1.3.1 Synopsis: commit [-lnRf] [-m 'log_message' | -F
  239.      file] [-r revision] [files...]
  240.  
  241.    * Requires: working directory, repository.
  242.  
  243.    * Changes: repository.
  244.  
  245.    * Synonym: ci
  246.  
  247.    *Warning:* The `-f FILE' option will probably be renamed to `-F
  248. FILE', and `-f' will be given a new behavior in future releases of CVS.
  249.  
  250.    Use `commit' when you want to incorporate changes from your working
  251. source files into the source repository.
  252.  
  253.    If you don't specify particular files to commit, all of the files in
  254. your working current directory are examined.  `commit' is careful to
  255. change in the repository only those files that you have really changed.
  256. By default (or if you explicitly specify the `-R' option), files in
  257. subdirectories are also examined and committed if they have changed;
  258. you can use the `-l' option to limit `commit' to the current directory
  259. only.
  260.  
  261.    `commit' verifies that the selected files are up to date with the
  262. current revisions in the source repository; it will notify you, and
  263. exit without committing, if any of the specified files must be made
  264. current first with `update' (*note update::.).  `commit' does not call
  265. the `update' command for you, but rather leaves that for you to do when
  266. the time is right.
  267.  
  268.    When all is well, an editor is invoked to allow you to enter a log
  269. message that will be written to one or more logging programs (*note
  270. modules::., and *note loginfo::.) and placed in the RCS history file
  271. inside the repository.  This log message can be retrieved with the
  272. `log' command; *Note log::.  You can specify the log message on the
  273. command line with the `-m MESSAGE' option, and thus avoid the editor
  274. invocation, or use the `-f FILE' option to specify that the argument
  275. file contains the log message.
  276.  
  277. * Menu:
  278.  
  279. * commit options::              commit options
  280. * commit examples::             commit examples
  281.  
  282. 
  283. File: cvs.info,  Node: commit options,  Next: commit examples,  Up: commit
  284.  
  285. commit options
  286. --------------
  287.  
  288.    These standard options are supported by `commit' (*note Common
  289. options::., for a complete description of them):
  290.  
  291. `-l'
  292.      Local; run only in current working directory.
  293.  
  294. `-n'
  295.      Do not run any module program.
  296.  
  297. `-R'
  298.      Commit directories recursively.  This is on by default.
  299.  
  300. `-r REVISION'
  301.      Commit to REVISION.  REVISION must be either a branch, or a
  302.      revision on the main trunk that is higher than any existing
  303.      revision number.  You cannot commit to a specific revision on a
  304.      branch.
  305.  
  306.    `commit' also supports these options:
  307.  
  308. `-F FILE'
  309.      This option is present in CVS releases 1.3-s3 and later.  Read the
  310.      log message from FILE, instead of invoking an editor.
  311.  
  312. `-f'
  313.      This option is present in CVS 1.3-s3 and later releases of CVS.
  314.      Note that this is not the standard behavior of the `-f' option as
  315.      defined in *Note Common options::.
  316.  
  317.      Force CVS to commit a new revision even if you haven't made any
  318.      changes to the file.  If the current revision of FILE is 1.7, then
  319.      the following two commands are equivalent:
  320.  
  321.           $ cvs commit -f FILE
  322.           $ cvs commit -r 1.8 FILE
  323.  
  324. `-f FILE'
  325.      This option is present in CVS releases 1.3, 1.3-s1 and 1.3-s2.
  326.      Note that this is not the standard behavior of the `-f' option as
  327.      defined in *Note Common options::.
  328.  
  329.      Read the log message from FILE, instead of invoking an editor.
  330.  
  331. `-m MESSAGE'
  332.      Use MESSAGE as the log message, instead of invoking an editor.
  333.  
  334. 
  335. File: cvs.info,  Node: commit examples,  Prev: commit options,  Up: commit
  336.  
  337. commit examples
  338. ---------------
  339.  
  340. New major release number
  341. ........................
  342.  
  343.    When you make a major release of your product, you might want the
  344. revision numbers to track your major release number.  You should
  345. normally not care about the revision numbers, but this is a thing that
  346. many people want to do, and it can be done without doing any harm.
  347.  
  348.    To bring all your files up to the RCS revision 3.0 (including those
  349. that haven't changed), you might do:
  350.  
  351.      $ cvs commit -r 3.0
  352.  
  353.    Note that it is generally a bad idea to try to make the RCS revision
  354. number equal to the current release number of your product.  You should
  355. think of the revision number as an internal number that the CVS package
  356. maintains, and that you generally never need to care much about.  Using
  357. the `tag' and `rtag' commands you can give symbolic names to the
  358. releases instead.  *Note tag::, and *Note rtag::.
  359.  
  360.    Note that the number you specify with `-r' must be larger than any
  361. existing revision number.  That is, if revision 3.0 exists, you cannot
  362. `cvs commit -r 1.3'.
  363.  
  364. Committing to a branch
  365. ......................
  366.  
  367.    You can commit to a branch revision (one that has an even number of
  368. dots) with the `-r' option.  To create a branch revision, use the `-b'
  369. option of the `rtag' or `tag' commands (*note tag::.  or *note
  370. rtag::.).  Then, either `checkout' or `update' can be used to base your
  371. sources on the newly created branch.  From that point on, all `commit'
  372. changes made within these working sources will be automatically added
  373. to a branch revision, thereby not disturbing main-line development in
  374. any way.  For example, if you had to create a patch to the 1.2 version
  375. of the product, even though the 2.0 version is already under
  376. development, you might do:
  377.  
  378.      $ cvs rtag -b -r FCS1_2 FCS1_2_Patch product_module
  379.      $ cvs checkout -r FCS1_2_Patch product_module
  380.      $ cd product_module
  381.      [[ hack away ]]
  382.      $ cvs commit
  383.  
  384. This works automatically since the `-r' option is sticky.
  385.  
  386. Creating the branch after editing
  387. .................................
  388.  
  389.    Say you have been working on some extremely experimental software,
  390. based on whatever revision you happened to checkout last week.  If
  391. others in your group would like to work on this software with you, but
  392. without disturbing main-line development, you could commit your change
  393. to a new branch.  Others can then checkout your experimental stuff and
  394. utilize the full benefit of CVS conflict resolution.  The scenario might
  395. look like:
  396.  
  397.      [[ hacked sources are present ]]
  398.      $ cvs tag -b EXPR1
  399.      $ cvs update -r EXPR1
  400.      $ cvs commit
  401.  
  402.    The `update' command will make the `-r EXPR1' option sticky on all
  403. files.  Note that your changes to the files will never be removed by the
  404. `update' command.  The `commit' will automatically commit to the
  405. correct branch, because the `-r' is sticky.  You could also do like
  406. this:
  407.  
  408.      [[ hacked sources are present ]]
  409.      $ cvs tag -b EXPR1
  410.      $ cvs commit -r EXPR1
  411.  
  412. but then, only those files that were changed by you will have the `-r
  413. EXPR1' sticky flag.  If you hack away, and commit without specifying
  414. the `-r EXPR1' flag, some files may accidentally end up on the main
  415. trunk.
  416.  
  417.    To work with you on the experimental change, others would simply do
  418.  
  419.      $ cvs checkout -r EXPR1 whatever_module
  420.  
  421. 
  422. File: cvs.info,  Node: diff,  Next: export,  Prev: commit,  Up: Invoking CVS
  423.  
  424. diff--Run diffs between revisions
  425. =================================
  426.  
  427.    * Synopsis: diff [-l] [rcsdiff_options] [[-r rev1 | -D date1] [-r
  428.      rev2 |  -D date2]] [files...]
  429.  
  430.    * Requires: working directory, repository.
  431.  
  432.    * Changes: nothing.
  433.  
  434.    The `diff' command is used to compare different revisions of files.
  435. The default action is to compare your working files with the revisions
  436. they were based on, and report any differences that are found.
  437.  
  438.    If any file names are given, only those files are compared.  If any
  439. directories are given, all files under them will be compared.
  440.  
  441.    The exit status will be 0 if no differences were found, 1 if some
  442. differences were found, and 2 if any error occurred.
  443.  
  444. * Menu:
  445.  
  446. * diff options::                diff options
  447. * diff examples::               diff examples
  448.  
  449. 
  450. File: cvs.info,  Node: diff options,  Next: diff examples,  Up: diff
  451.  
  452. diff options
  453. ------------
  454.  
  455.    These standard options are supported by `diff' (*note Common
  456. options::., for a complete description of them):
  457.  
  458. `-D DATE'
  459.      Use the most recent revision no later than DATE.  See `-r' for how
  460.      this affects the comparison.
  461.  
  462.      CVS can be configured to pass the `-D' option through to `rcsdiff'
  463.      (which in turn passes it on to `diff'.  GNU diff uses `-D' as a
  464.      way to put `cpp'-style `#define' statements around the output
  465.      differences.  There is no way short of testing to figure out how
  466.      CVS was configured.  In the default configuration CVS will use the
  467.      `-D DATE' option.
  468.  
  469. `-k KFLAG'
  470.      Process RCS keywords according to KFLAG.  See co(1).
  471.  
  472. `-l'
  473.      Local; run only in current working directory.
  474.  
  475. `-R'
  476.      Examine directories recursively.  This option is on by default.
  477.  
  478. `-r TAG'
  479.      Compare with revision TAG.  Zero, one or two `-r' options can be
  480.      present.  With no `-r' option, the working file will be compared
  481.      with the revision it was based on.  With one `-r', that revision
  482.      will be compared to your current working file.  With two `-r'
  483.      options those two revisions will be compared (and your working
  484.      file will not affect the outcome in any way).
  485.  
  486.      One or both `-r' options can be replaced by a `-D DATE' option,
  487.      described above.
  488.  
  489.    Any other options that are found are passed through to `rcsdiff',
  490. which in turn passes them to `diff'.  The exact meaning of the options
  491. depends on which `diff' you are using.  The long options introduced in
  492. GNU diff 2.0 are not yet supported in CVS.  See the documentation for
  493. your `diff' to see which options are supported.
  494.  
  495. 
  496. File: cvs.info,  Node: diff examples,  Prev: diff options,  Up: diff
  497.  
  498. diff examples
  499. -------------
  500.  
  501.    The following line produces a Unidiff (`-u' flag) between revision
  502. 1.14 and 1.19 of `backend.c'.  Due to the `-kk' flag no keywords are
  503. substituted, so differences that only depend on keyword substitution
  504. are ignored.
  505.  
  506.      $ cvs diff -kk -u -r 1.14 -r 1.19 backend.c
  507.  
  508.    Suppose the experimental branch EXPR1 was based on a set of files
  509. tagged RELEASE_1_0.  To see what has happened on that branch, the
  510. following can be used:
  511.  
  512.      $ cvs diff -r RELEASE_1_0 -r EXPR1
  513.  
  514.    A command like this can be used to produce a context diff between
  515. two releases:
  516.  
  517.      $ cvs diff -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs
  518.  
  519.    If you are maintaining ChangeLogs, a command like the following just
  520. before you commit your changes may help you write the ChangeLog entry.
  521. All local modifications that have not yet been committed will be
  522. printed.
  523.  
  524.      $ cvs diff -u | less
  525.  
  526. 
  527. File: cvs.info,  Node: export,  Next: history,  Prev: diff,  Up: Invoking CVS
  528.  
  529. export--Export sources from CVS, similar to checkout
  530. ====================================================
  531.  
  532.    * Synopsis: export [-flNn] [-r rev|-D date] [-k subst] [-d dir]
  533.      module...
  534.  
  535.    * Requires: repository.
  536.  
  537.    * Changes: current directory.
  538.  
  539.    This command is a variant of `checkout'; use it when you want a copy
  540. of the source for module without the CVS administrative directories.
  541. For example, you might use `export' to prepare source for shipment
  542. off-site.  This command requires that you specify a date or tag (with
  543. `-D' or `-r'), so that you can count on reproducing the source you ship
  544. to others.
  545.  
  546.    One often would like to use `-kv' with `cvs export'.  This causes
  547. any RCS keywords to be expanded such that an import done at some other
  548. site will not lose the keyword revision information.  But be aware that
  549. doesn't handle an export containing binary files correctly.  Also be
  550. aware that after having used `-kv', one can no longer use the `ident'
  551. command (which is part of the RCS suite--see ident(1)) which looks for
  552. RCS keyword strings.  If you want to be able to use `ident' you must not
  553. use `-kv'.
  554.  
  555. * Menu:
  556.  
  557. * export options::              export options
  558.  
  559. 
  560. File: cvs.info,  Node: export options,  Up: export
  561.  
  562. export options
  563. --------------
  564.  
  565.    These standard options are supported by `export' (*note Common
  566. options::., for a complete description of them):
  567.  
  568. `-D DATE'
  569.      Use the most recent revision no later than DATE.
  570.  
  571. `-f'
  572.      If no matching revision is found, retrieve the most recent
  573.      revision (instead of ignoring the file).
  574.  
  575. `-l'
  576.      Local; run only in current working directory.
  577.  
  578. `-n'
  579.      Do not run any checkout program.
  580.  
  581. `-R'
  582.      Export directories recursively.  This is on by default.
  583.  
  584. `-r TAG'
  585.      Use revision TAG.
  586.  
  587.    In addition, these options (that are common to `checkout' and
  588. `export') are also supported:
  589.  
  590. `-d DIR'
  591.      Create a directory called DIR for the working files, instead of
  592.      using the module name.  Unless you also use `-N', the paths
  593.      created under DIR will be as short as possible.
  594.  
  595. `-k SUBST'
  596.      Set keyword expansion mode (*note Substitution modes::.).
  597.  
  598. `-N'
  599.      Only useful together with `-d DIR'.  With this option, CVS will
  600.      not shorten module paths in your working directory.  (Normally,
  601.      CVS shortens paths as much as possible when you specify an
  602.      explicit target directory.)
  603.  
  604. 
  605. File: cvs.info,  Node: history,  Next: import,  Prev: export,  Up: Invoking CVS
  606.  
  607. history--Show status of files and users
  608. =======================================
  609.  
  610.    * Synopsis:     history [-report] [-flags] [-options args] [files...]
  611.  
  612.    * Requires: the file `$CVSROOT/CVSROOT/history'
  613.  
  614.    * Changes: nothing.
  615.  
  616.    CVS can keep a history file that tracks each use of the `checkout',
  617. `commit', `rtag', `update', and `release' commands.  You can use
  618. `history' to display this information in various formats.
  619.  
  620.    Logging must be enabled by creating the file
  621. `$CVSROOT/CVSROOT/history'.
  622.  
  623.    *Warning:* `history' uses `-f', `-l', `-n', and `-p' in ways that
  624. conflict with the normal use inside CVS (*note Common options::.).
  625.  
  626. * Menu:
  627.  
  628. * history options::             history options
  629.  
  630. 
  631. File: cvs.info,  Node: history options,  Up: history
  632.  
  633. history options
  634. ---------------
  635.  
  636.    Several options (shown above as `-report')  control  what kind of
  637. report is generated:
  638.  
  639. `-c'
  640.      Report on each time commit was used (i.e., each time the
  641.      repository was modified).
  642.  
  643. `-e'
  644.      Everything (all record types); equivalent to specifying
  645.      `-xMACFROGWUT'.
  646.  
  647. `-m MODULE'
  648.      Report on a particular module.  (You can meaningfully use `-m'
  649.      more than once on the command line.)
  650.  
  651. `-o'
  652.      Report on checked-out modules.
  653.  
  654. `-T'
  655.      Report on all tags.
  656.  
  657. `-x TYPE'
  658.      Extract a particular set of record types TYPE from the CVS
  659.      history.  The types are indicated by single letters, which you may
  660.      specify in combination.
  661.  
  662.      Certain commands have a single record type:
  663.  
  664.     `F'
  665.           release
  666.  
  667.     `O'
  668.           checkout
  669.  
  670.     `T'
  671.           rtag
  672.  
  673.      One of four record types may result from an update:
  674.  
  675.     `C'
  676.           A merge was necessary but collisions were detected (requiring
  677.           manual merging).
  678.  
  679.     `G'
  680.           A merge was necessary and it succeeded.
  681.  
  682.     `U'
  683.           A working file was copied from the repository.
  684.  
  685.     `W'
  686.           The working copy of a file was deleted during update (because
  687.           it was gone from the repository).
  688.  
  689.      One of three record types results from commit:
  690.  
  691.     `A'
  692.           A file was added for the first time.
  693.  
  694.     `M'
  695.           A file was modified.
  696.  
  697.     `R'
  698.           A file was removed.
  699.  
  700.    The options shown as `-flags' constrain or expand the report without
  701. requiring option arguments:
  702.  
  703. `-a'
  704.      Show data for all users (the default is to show data only for the
  705.      user executing `history').
  706.  
  707. `-l'
  708.      Show last modification only.
  709.  
  710. `-w'
  711.      Show only the records for modifications done from the same working
  712.      directory where `history' is executing.
  713.  
  714.    The options shown as `-options ARGS' constrain the report based on
  715. an argument:
  716.  
  717. `-b STR'
  718.      Show data back to a record containing  the  string STR  in  either
  719.      the module name, the file name, or the repository path.
  720.  
  721. `-D DATE'
  722.      Show data since DATE.  This is slightly different from the normal
  723.      use of `-D DATE', which selects the newest revision older than
  724.      DATE.
  725.  
  726. `-p REPOSITORY'
  727.      Show data for a particular source repository  (you can specify
  728.      several `-p' options on the same command line).
  729.  
  730. `-r REV'
  731.      Show records referring to revisions since the revision or tag
  732.      named REV appears in individual RCS files.  Each RCS file is
  733.      searched for the revision or tag.
  734.  
  735. `-t TAG'
  736.      Show records since tag TAG was last added to the the history file.
  737.      This differs from the `-r' flag above in that it reads only the
  738.      history file, not the RCS files, and is much faster.
  739.  
  740. `-u NAME'
  741.      Show records for user NAME.
  742.  
  743. 
  744. File: cvs.info,  Node: import,  Next: log,  Prev: history,  Up: Invoking CVS
  745.  
  746. import--Import sources into CVS, using vendor branches
  747. ======================================================
  748.  
  749.    * Synopsis: import [-options] repository vendortag releasetag...
  750.  
  751.    * Requires: Repository, source distribution directory.
  752.  
  753.    * Changes: repository.
  754.  
  755.    Use `import' to incorporate an entire source distribution from an
  756. outside source (e.g., a source vendor) into your source repository
  757. directory.  You can use this command both for initial creation of a
  758. repository, and for wholesale updates to the module from the outside
  759. source.  *Note Tracking sources::, for a discussion on this subject.
  760.  
  761.    The REPOSITORY argument gives a directory name (or a path to a
  762. directory) under the CVS root directory for repositories; if the
  763. directory did not exist, import creates it.
  764.  
  765.    When you use import for updates to source that has been modified in
  766. your source repository (since a prior import), it will notify you of
  767. any files that conflict in the two branches of development; use
  768. `checkout -j' to reconcile the differences, as import instructs you to
  769. do.
  770.  
  771.    If CVS decides a file should be ignored (*note cvsignore::.), it
  772. does not import it and prints `I ' followed by the filename
  773.  
  774.    If the file `$CVSROOT/CVSROOT/cvswrappers' exists, any file whose
  775. names match the specifications in that file will be treated as packages
  776. and the appropriate filtering will be performed on the file/directory
  777. before being imported, *Note Wrappers::.
  778.  
  779.    The outside source is saved in a first-level RCS branch, by default
  780. 1.1.1.  Updates are leaves of this branch; for example, files from the
  781. first imported collection of source will be revision 1.1.1.1, then
  782. files from the first imported update will be revision 1.1.1.2, and so
  783. on.
  784.  
  785.    At least three arguments are required.  REPOSITORY is needed to
  786. identify the collection of source.  VENDORTAG is a tag for the entire
  787. branch (e.g., for 1.1.1).  You must also specify at least one
  788. RELEASETAG to identify the files at the leaves created each time you
  789. execute `import'.
  790.  
  791. * Menu:
  792.  
  793. * import options::              import options
  794. * import examples::             import examples
  795.  
  796. 
  797. File: cvs.info,  Node: import options,  Next: import examples,  Up: import
  798.  
  799. import options
  800. --------------
  801.  
  802.    This standard option is supported by `import' (*note Common
  803. options::., for a complete description):
  804.  
  805. `-m MESSAGE'
  806.      Use MESSAGE as log information, instead of invoking an editor.
  807.  
  808.    There are three additional special options.
  809.  
  810. `-b BRANCH'
  811.      Specify a first-level branch other than 1.1.1.  Unless the `-b
  812.      BRANCH' flag is given, revisions will *always* be made to the
  813.      branch 1.1.1--even if a VENDORTAG that matches another branch is
  814.      given!  What happens in that case, is that the tag will be reset
  815.      to 1.1.1.  Warning: This behavior might change in the future.
  816.  
  817. `-k SUBST'
  818.      Indicate the RCS keyword expansion mode desired.  This setting
  819.      will apply to all files created during the import, but not to any
  820.      files that previously existed in the repository.  See *Note
  821.      Substitution modes::, for a list of valid `-k' settings.
  822.  
  823. `-I NAME'
  824.      Specify file names that should be ignored during import.  You can
  825.      use this option repeatedly.  To avoid ignoring any files at all
  826.      (even those ignored by default), specify `-I !'.
  827.  
  828.      NAME can be a file name pattern of the same type that you can
  829.      specify in the `.cvsignore' file.  *Note cvsignore::.
  830.  
  831. `-W SPEC'
  832.      Specify file names that should be filtered during import.  You can
  833.      use this option repeatedly.
  834.  
  835.      SPEC can be a file name pattern of the same type that you can
  836.      specify in the `.cvswrappers' file. *Note Wrappers::.
  837.  
  838. 
  839. File: cvs.info,  Node: import examples,  Prev: import options,  Up: import
  840.  
  841. import examples
  842. ---------------
  843.  
  844.    *Note Tracking sources::, and *Note From files::.
  845.  
  846. 
  847. File: cvs.info,  Node: log,  Next: rdiff,  Prev: import,  Up: Invoking CVS
  848.  
  849. log--Print out log information for files
  850. ========================================
  851.  
  852.    * Synopsis: log [options] [files...]
  853.  
  854.    * Requires: repository, working directory.
  855.  
  856.    * Changes: nothing.
  857.  
  858.    Display log information for files.  `log' used to call the RCS
  859. utility `rlog'.  Although this is no longer true in the current
  860. sources, this history determines the format of the output and the
  861. options, which are not quite in the style of the other CVS commands.
  862.  
  863.    The output includes the location of the RCS file, the "head"
  864. revision (the latest revision on the trunk), all symbolic names (tags)
  865. and some other things.  For each revision, the revision number, the
  866. author, the number of lines added/deleted and the log message are
  867. printed.  All times are displayed in Coordinated Universal Time (UTC).
  868. (Other parts of CVS print times in the local timezone).
  869.  
  870. * Menu:
  871.  
  872. * log options::                 log options
  873. * log examples::                log examples
  874.  
  875. 
  876. File: cvs.info,  Node: log options,  Next: log examples,  Up: log
  877.  
  878. log options
  879. -----------
  880.  
  881.    By default, `log' prints all information that is available.  All
  882. other options restrict the output.
  883.  
  884. `-b'
  885.      Print information about the revisions on the default branch,
  886.      normally the highest branch on the trunk.
  887.  
  888. `-d DATES'
  889.      Print information about revisions with a checkin date/time in the
  890.      range given by the semicolon-separated list of dates.  The
  891.      following table explains the available range formats:
  892.  
  893.     `D1<D2'
  894.     `D2>D1'
  895.           Select the revisions that were deposited between D1 and D2.
  896.  
  897.     `<D'
  898.     `D>'
  899.           Select all revisions dated D or earlier.
  900.  
  901.     `D<'
  902.     `>D'
  903.           Select all revisions dated D or later.
  904.  
  905.     `D'
  906.           Select the single, latest revision dated D or earlier.
  907.  
  908.      The `>' or `<' characters may be followed by `=' to indicate an
  909.      inclusive range rather than an exclusive one.
  910.  
  911.      Note that the separator is a semicolon (;).
  912.  
  913. `-h'
  914.      Print only the RCS pathname, working pathname, head, default
  915.      branch, access list, locks, symbolic names, and suffix.
  916.  
  917. `-l'
  918.      Local; run only in current working directory.  (Default is to run
  919.      recursively).
  920.  
  921. `-N'
  922.      Do not print the list of tags for this file.  This option can be
  923.      very useful when your site uses a lot of tags, so rather than
  924.      "more"'ing over 3 pages of tag information, the log information is
  925.      presented without tags at all.
  926.  
  927. `-R'
  928.      Print only the name of the RCS history file.
  929.  
  930. `-rREVISIONS'
  931.      Print information about revisions given in the comma-separated
  932.      list REVISIONS of revisions and ranges.  The following table
  933.      explains the available range formats:
  934.  
  935.     `REV1:REV2'
  936.           Revisions REV1 to REV2 (which must be on the same branch).
  937.  
  938.     `:REV'
  939.           Revisions from the beginning of the branch up to and
  940.           including REV.
  941.  
  942.     `REV:'
  943.           Revisions starting with REV to the end of the branch
  944.           containing REV.
  945.  
  946.     `BRANCH'
  947.           An argument that is a branch means all revisions on that
  948.           branch.
  949.  
  950.     `BRANCH1:BRANCH2'
  951.           A range of branches means all revisions on the branches in
  952.           that range.
  953.  
  954.     `BRANCH.'
  955.           The latest revision in BRANCH.
  956.  
  957.      A bare `-r' with no revisions means the latest revision on the
  958.      default branch, normally the trunk.  There can be no space between
  959.      the `-r' option and its argument.
  960.  
  961. `-s STATES'
  962.      Print information about revisions whose state attributes match one
  963.      of the states given in the comma-separated list STATES.
  964.  
  965. `-t'
  966.      Print the same as `-h', plus the descriptive text.
  967.  
  968. `-wLOGINS'
  969.      Print information about revisions checked in by users with login
  970.      names appearing in the comma-separated list LOGINS.  If LOGINS is
  971.      omitted, the user's login is assumed.  There can be no space
  972.      between the `-w' option and its argument.
  973.  
  974.    `log' prints the intersection of the revisions selected with the
  975. options `-d', `-s', and `-w', intersected with the union of the
  976. revisions selected by `-b' and `-r'.
  977.  
  978. 
  979. File: cvs.info,  Node: log examples,  Prev: log options,  Up: log
  980.  
  981. log examples
  982. ------------
  983.  
  984.    Contributed examples are gratefully accepted.
  985.  
  986. 
  987. File: cvs.info,  Node: rdiff,  Next: release,  Prev: log,  Up: Invoking CVS
  988.  
  989. rdiff--'patch' format diffs between releases
  990. ============================================
  991.  
  992.    * rdiff [-flags] [-V vn] [-r t|-D d [-r t2|-D d2]] modules...
  993.  
  994.    * Requires: repository.
  995.  
  996.    * Changes: nothing.
  997.  
  998.    * Synonym: patch
  999.  
  1000.    Builds a Larry Wall format patch(1) file between two releases, that
  1001. can be fed directly into the patch program to bring an old release
  1002. up-to-date with the new release.  (This is one of the few CVS commands
  1003. that operates directly from the repository, and doesn't require a prior
  1004. checkout.) The diff output is sent to the standard output device.
  1005.  
  1006.    You can specify (using the standard `-r' and `-D' options) any
  1007. combination of one or two revisions or dates.  If only one revision or
  1008. date is specified, the patch file reflects differences between that
  1009. revision or date and the current head revisions in the RCS file.
  1010.  
  1011.    Note that if the software release affected is contained in more than
  1012. one directory, then it may be necessary to specify the `-p' option to
  1013. the patch command when patching the old sources, so that patch is able
  1014. to find the files that are located in other directories.
  1015.  
  1016. * Menu:
  1017.  
  1018. * rdiff options::               rdiff options
  1019. * rdiff examples::              rdiff examples
  1020.  
  1021. 
  1022. File: cvs.info,  Node: rdiff options,  Next: rdiff examples,  Up: rdiff
  1023.  
  1024. rdiff options
  1025. -------------
  1026.  
  1027.    These standard options are supported by `rdiff' (*note Common
  1028. options::., for a complete description of them):
  1029.  
  1030. `-D DATE'
  1031.      Use the most recent revision no later than DATE.
  1032.  
  1033. `-f'
  1034.      If no matching revision is found, retrieve the most recent
  1035.      revision (instead of ignoring the file).
  1036.  
  1037. `-l'
  1038.      Local; don't descend subdirectories.
  1039.  
  1040. `-r TAG'
  1041.      Use revision TAG.
  1042.  
  1043.    In addition to the above, these options are available:
  1044.  
  1045. `-c'
  1046.      Use the context diff format.  This is the default format.
  1047.  
  1048. `-s'
  1049.      Create a summary change report instead of a patch.  The summary
  1050.      includes information about files that were changed or added
  1051.      between the releases.  It is sent to the standard output device.
  1052.      This is useful for finding out, for example, which files have
  1053.      changed between two dates or revisions.
  1054.  
  1055. `-t'
  1056.      A diff of the top two revisions is sent to the standard output
  1057.      device.  This is most useful for seeing what the last change to a
  1058.      file was.
  1059.  
  1060. `-u'
  1061.      Use the unidiff format for the context diffs.  This option is not
  1062.      available if your diff does not support the unidiff format.
  1063.      Remember that old versions of the `patch' program can't handle the
  1064.      unidiff format, so if you plan to post this patch to the net you
  1065.      should probably not use `-u'.
  1066.  
  1067. `-V VN'
  1068.      Expand RCS keywords according to the rules current in RCS version
  1069.      VN (the expansion format changed with RCS version 5).
  1070.  
  1071. 
  1072. File: cvs.info,  Node: rdiff examples,  Prev: rdiff options,  Up: rdiff
  1073.  
  1074. rdiff examples
  1075. --------------
  1076.  
  1077.    Suppose you receive mail from foo@bar.com asking for an update from
  1078. release 1.2 to 1.4 of the tc compiler.  You have no such patches on
  1079. hand, but with CVS that can easily be fixed with a command such as this:
  1080.  
  1081.      $ cvs rdiff -c -r FOO1_2 -r FOO1_4 tc | \
  1082.      $$ Mail -s 'The patches you asked for' foo@bar.com
  1083.  
  1084.    Suppose you have made release 1.3, and forked a branch called
  1085. `R_1_3fix' for bugfixes.  `R_1_3_1' corresponds to release 1.3.1, which
  1086. was made some time ago.  Now, you want to see how much development has
  1087. been done on the branch.  This command can be used:
  1088.  
  1089.      $ cvs patch -s -r R_1_3_1 -r R_1_3fix module-name
  1090.      cvs rdiff: Diffing module-name
  1091.      File ChangeLog,v changed from revision 1.52.2.5 to 1.52.2.6
  1092.      File foo.c,v changed from revision 1.52.2.3 to 1.52.2.4
  1093.      File bar.h,v changed from revision 1.29.2.1 to 1.2
  1094.  
  1095. 
  1096. File: cvs.info,  Node: release,  Next: rtag,  Prev: rdiff,  Up: Invoking CVS
  1097.  
  1098. release--Indicate that a Module is no longer in use
  1099. ===================================================
  1100.  
  1101.    * release [-d] directories...
  1102.  
  1103.    * Requires: Working directory.
  1104.  
  1105.    * Changes: Working directory, history log.
  1106.  
  1107.    This command is meant to safely cancel the effect of `cvs checkout'.
  1108. Since CVS doesn't lock files, it isn't strictly necessary to use this
  1109. command.  You can always simply delete your working directory, if you
  1110. like; but you risk losing changes you may have forgotten, and you leave
  1111. no trace in the CVS history file (*note history file::.) that you've
  1112. abandoned your checkout.
  1113.  
  1114.    Use `cvs release' to avoid these problems.  This command checks that
  1115. no uncommitted changes are present; that you are executing it from
  1116. immediately above a CVS working directory; and that the repository
  1117. recorded for your files is the same as the repository defined in the
  1118. module database.
  1119.  
  1120.    If all these conditions are true, `cvs release' leaves a record of
  1121. its execution (attesting to your intentionally abandoning your
  1122. checkout) in the CVS history log.
  1123.  
  1124. * Menu:
  1125.  
  1126. * release options::             release options
  1127. * release output::              release options
  1128. * release examples::            release examples
  1129.  
  1130. 
  1131. File: cvs.info,  Node: release options,  Next: release output,  Up: release
  1132.  
  1133. release options
  1134. ---------------
  1135.  
  1136.    The `release' command supports one command option:
  1137.  
  1138. `-d'
  1139.      Delete your working copy of the file if the release succeeds.  If
  1140.      this flag is not given your files will remain in your working
  1141.      directory.
  1142.  
  1143.      *Warning:*  The `release' command uses `rm -r `module'' to delete
  1144.      your file.  This has the very serious side-effect that any
  1145.      directory that you have created inside your checked-out sources,
  1146.      and not added to the repository (using the `add' command; *note
  1147.      add::.) will be silently deleted--even if it is non-empty!
  1148.  
  1149. 
  1150. File: cvs.info,  Node: release output,  Next: release examples,  Prev: release options,  Up: release
  1151.  
  1152. release output
  1153. --------------
  1154.  
  1155.    Before `release' releases your sources it will print a one-line
  1156. message for any file that is not up-to-date.
  1157.  
  1158.    *Warning:*  Any new directories that you have created, but not added
  1159. to the CVS directory hierarchy with the `add' command (*note add::.)
  1160. will be silently ignored (and deleted, if `-d' is specified), even if
  1161. they contain files.
  1162.  
  1163. `U FILE'
  1164.      There exists a newer revision of this file in the repository, and
  1165.      you have not modified your local copy of the file.
  1166.  
  1167. `A FILE'
  1168.      The file has been added to your private copy of the sources, but
  1169.      has not yet been committed to the repository.  If you delete your
  1170.      copy of the sources this file will be lost.
  1171.  
  1172. `R FILE'
  1173.      The file has been removed from your private copy of the sources,
  1174.      but has not yet been removed from the repository, since you have
  1175.      not yet committed the removal.  *Note commit::.
  1176.  
  1177. `M FILE'
  1178.      The file is modified in your working directory.  There might also
  1179.      be a newer revision inside the repository.
  1180.  
  1181. `? FILE'
  1182.      FILE is in your working directory, but does not correspond to
  1183.      anything in the source repository, and is not in the list of files
  1184.      for CVS to ignore (see the description of the `-I' option, and
  1185.      *note cvsignore::.).  If you remove your working sources, this
  1186.      file will be lost.
  1187.  
  1188.      Note that no warning message like this is printed for spurious
  1189.      directories that CVS encounters.  The directory, and all its
  1190.      contents, are silently ignored.
  1191.  
  1192. 
  1193. File: cvs.info,  Node: release examples,  Prev: release output,  Up: release
  1194.  
  1195. release examples
  1196. ----------------
  1197.  
  1198.    Release the module, and delete your local working copy of the files.
  1199.  
  1200.      $ cd ..         # You must stand immediately above the
  1201.                      # sources when you issue `cvs release'.
  1202.      $ cvs release -d tc
  1203.      You have [0] altered files in this repository.
  1204.      Are you sure you want to release (and delete) module `tc': y
  1205.      $
  1206.  
  1207. 
  1208. File: cvs.info,  Node: rtag,  Next: status,  Prev: release,  Up: Invoking CVS
  1209.  
  1210. rtag--Add a symbolic tag to a module
  1211. ====================================
  1212.  
  1213.    * rtag [-falnR] [-b] [-d] [-r tag | -Ddate] symbolic_tag modules...
  1214.  
  1215.    * Requires: repository.
  1216.  
  1217.    * Changes: repository.
  1218.  
  1219.    * Synonym: rfreeze
  1220.  
  1221.    You can use this command to assign symbolic tags to particular,
  1222. explicitly specified source revisions in the repository.  `rtag' works
  1223. directly on the repository contents (and requires no prior checkout).
  1224. Use `tag' instead (*note tag::.), to base the selection of revisions on
  1225. the contents of your working directory.
  1226.  
  1227.    If you attempt to use a tag name that already exists, CVS will
  1228. complain and not overwrite that tag.  Use the `-F' option to force the
  1229. new tag value.
  1230.  
  1231. * Menu:
  1232.  
  1233. * rtag options::                rtag options
  1234.  
  1235. 
  1236. File: cvs.info,  Node: rtag options,  Up: rtag
  1237.  
  1238. rtag options
  1239. ------------
  1240.  
  1241.    These standard options are supported by `rtag' (*note Common
  1242. options::., for a complete description of them):
  1243.  
  1244. `-D DATE'
  1245.      Tag the most recent revision no later than DATE.
  1246.  
  1247. `-f'
  1248.      Only useful with the `-D DATE' or `-r TAG' flags.  If no matching
  1249.      revision is found, use the most recent revision (instead of
  1250.      ignoring the file).
  1251.  
  1252. `-F'
  1253.      Overwrite an existing tag of the same name on a different
  1254.      revision.  This option is new in CVS 1.4.  The old behavior is
  1255.      matched by `cvs tag -F'.
  1256.  
  1257. `-l'
  1258.      Local; run only in current working directory.
  1259.  
  1260. `-n'
  1261.      Do not run any tag program that was specified with the `-t' flag
  1262.      inside the `modules' file.  (*note modules::.).
  1263.  
  1264. `-R'
  1265.      Commit directories recursively.  This is on by default.
  1266.  
  1267. `-r TAG'
  1268.      Only tag those files that contain TAG.  This can be used to rename
  1269.      a tag: tag only the files identified by the old tag, then delete
  1270.      the old tag, leaving the new tag on exactly the same files as the
  1271.      old tag.
  1272.  
  1273.    In addition to the above common options, these options are available:
  1274.  
  1275. `-a'
  1276.      Use the `-a' option to have `rtag' look in the `Attic' (*note
  1277.      Removing files::.) for removed files that contain the specified
  1278.      tag.  The tag is removed from these files, which makes it
  1279.      convenient to re-use a symbolic tag as development continues (and
  1280.      files get removed from the up-coming distribution).
  1281.  
  1282. `-b'
  1283.      Make the tag a branch tag.  *Note Branches::.
  1284.  
  1285. `-d'
  1286.      Delete the tag instead of creating it.
  1287.  
  1288.      In general, tags (often the symbolic names of software
  1289.      distributions) should not be removed, but the `-d' option is
  1290.      available as a means to remove completely obsolete symbolic names
  1291.      if necessary (as might be the case for an Alpha release, or if you
  1292.      mistagged a module).
  1293.  
  1294. 
  1295. File: cvs.info,  Node: status,  Next: tag,  Prev: rtag,  Up: Invoking CVS
  1296.  
  1297. status--Display status information on checked out files
  1298. =======================================================
  1299.  
  1300.    * status [-lR] [-v] [files...]
  1301.  
  1302.    * Requires: working directory, repository.
  1303.  
  1304.    * Changes: nothing.
  1305.  
  1306.    Display a brief report on the current status of files with respect
  1307. to the source repository, including any sticky tags, dates, or `-k'
  1308. options.
  1309.  
  1310.    You can also use this command to determine the potential impact of a
  1311. `cvs update' on your working source directory--but remember that things
  1312. might change in the repository before you run `update'.
  1313.  
  1314. * Menu:
  1315.  
  1316. * status options::              status options
  1317.  
  1318. 
  1319. File: cvs.info,  Node: status options,  Up: status
  1320.  
  1321. status options
  1322. --------------
  1323.  
  1324.    These standard options are supported by `status' (*note Common
  1325. options::., for a complete description of them):
  1326.  
  1327. `-l'
  1328.      Local; run only in current working directory.
  1329.  
  1330. `-R'
  1331.      Commit directories recursively.  This is on by default.
  1332.  
  1333.    There is one additional option:
  1334.  
  1335. `-v'
  1336.      Verbose.  In addition to the information normally displayed, print
  1337.      all symbolic tags, together with the numerical value of the
  1338.      revision or branch they refer to.
  1339.  
  1340. 
  1341. File: cvs.info,  Node: tag,  Next: update,  Prev: status,  Up: Invoking CVS
  1342.  
  1343. tag--Add a symbolic tag to checked out versions of files
  1344. ========================================================
  1345.  
  1346.    * tag [-lR] [-b] [-c] [-d] symbolic_tag [files...]
  1347.  
  1348.    * Requires: working directory, repository.
  1349.  
  1350.    * Changes: repository.
  1351.  
  1352.    * Synonym: freeze
  1353.  
  1354.    Use this command to assign symbolic tags to the nearest repository
  1355. versions to your working sources.  The tags are applied immediately to
  1356. the repository, as with `rtag', but the versions are supplied
  1357. implicitly by the CVS records of your working files' history rather than
  1358. applied explicitly.
  1359.  
  1360.    One use for tags is to record a snapshot of the current sources when
  1361. the software freeze date of a project arrives.  As bugs are fixed after
  1362. the freeze date, only those changed sources that are to be part of the
  1363. release need be re-tagged.
  1364.  
  1365.    The symbolic tags are meant to permanently record which revisions of
  1366. which files were used in creating a software distribution.  The
  1367. `checkout' and `update' commands allow you to extract an exact copy of
  1368. a tagged release at any time in the future, regardless of whether files
  1369. have been changed, added, or removed since the release was tagged.
  1370.  
  1371.    This command can also be used to delete a symbolic tag, or to create
  1372. a branch.  See the options section below.
  1373.  
  1374.    If you attempt to use a tag name that already exists, CVS will
  1375. complain and not overwrite that tag.  Use the `-F' option to force the
  1376. new tag value.
  1377.  
  1378. * Menu:
  1379.  
  1380. * tag options::                 tag options
  1381.  
  1382. 
  1383. File: cvs.info,  Node: tag options,  Up: tag
  1384.  
  1385. tag options
  1386. -----------
  1387.  
  1388.    These standard options are supported by `tag' (*note Common
  1389. options::., for a complete description of them):
  1390.  
  1391. `-F'
  1392.      Overwrite an existing tag of the same name on a different
  1393.      revision.  This option is new in CVS 1.4.  The old behavior is
  1394.      matched by `cvs tag -F'.
  1395.  
  1396. `-l'
  1397.      Local; run only in current working directory.
  1398.  
  1399. `-R'
  1400.      Commit directories recursively.  This is on by default.
  1401.  
  1402.    Two special options are available:
  1403.  
  1404. `-b'
  1405.      The -b option makes the tag a branch tag (*note Branches::.),
  1406.      allowing concurrent, isolated development.  This is most useful
  1407.      for creating a patch to a previously released software
  1408.      distribution.
  1409.  
  1410. `-c'
  1411.      The -c option checks that all files which are to be tagged are
  1412.      unmodified.  This can be used to make sure that you can
  1413.      reconstruct the current file contents.
  1414.  
  1415. `-d'
  1416.      Delete a tag.
  1417.  
  1418.      If you use `cvs tag -d symbolic_tag', the symbolic tag you specify
  1419.      is deleted instead of being added.  Warning: Be very certain of
  1420.      your ground before you delete a tag; doing this permanently
  1421.      discards some historical information, which may later turn out to
  1422.      be valuable.
  1423.  
  1424. 
  1425. File: cvs.info,  Node: update,  Prev: tag,  Up: Invoking CVS
  1426.  
  1427. update--Bring work tree in sync with repository
  1428. ===============================================
  1429.  
  1430.    * update [-AdflPpR] [-d] [-r tag|-D date] files...
  1431.  
  1432.    * Requires: repository, working directory.
  1433.  
  1434.    * Changes: working directory.
  1435.  
  1436.    After you've run checkout to create your private copy of source from
  1437. the common repository, other developers will continue changing the
  1438. central source.  From time to time, when it is convenient in your
  1439. development process, you can use the `update' command from within your
  1440. working directory to reconcile your work with any revisions applied to
  1441. the source repository since your last checkout or update.
  1442.  
  1443. * Menu:
  1444.  
  1445. * update options::              update options
  1446. * update output::               update output
  1447. * update examples::             update examples
  1448.  
  1449.