0102-0102.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 189 行
HTML
189 行
<HTML>
<HEAD>
<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>
</HEAD>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311046 //-->
<!-- TITLE=Linux Complete Command Reference//-->
<!-- AUTHOR=Red Hat//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=01 //-->
<!-- PAGES=0001-0736 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0100-0101.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0103-0104.html">Next</A></CENTER></P>
<A NAME="PAGENUM-102"><P>Page 102</P></A>
<P>This command is recursive by default, scheduling all physically removed files that it finds for removal by the next
commit. Use the _l option to avoid this recursion, or just specify that actual files that you wish remove to consider.
</P>
<!-- CODE SNIP //-->
<PRE>
rtag [_f alnRQq][_b][_d][_r tag | _D
date] symbolic_tag modules...
</PRE>
<!-- END CODE SNIP //-->
<TABLE>
<TR><TD>
Requires:
</TD><TD>
Repository
</TD></TR><TR><TD>
Changes:
</TD><TD>
Repository
</TD></TR><TR><TD>
Synonym:
</TD><TD>
rfreeze
</TD></TR></TABLE>
<P>You can use this command to assign symbolic tags to particular, explicitly specified source versions in the repository.
cvs rtag works directly on the repository contents (and requires no prior checkout). Use
cvs tag instead, to base the selection of versions to tag on the contents of your working directory.
</P>
<P>In general, tags (often the symbolic names of software distributions) should not be removed, but the
_d option is available as a means to remove completely obsolete symbolic names if necessary (as might be the case for an Alpha release, say).
</P>
<P>cvs rtag will not move a tag that already exists. With the
_F option, however, cvs rtag will relocate any instance
of symbolic_tag that already exists on that file to the new repository versions. Without the
_F option, attempting to use cvs rtag to apply a tag that already exists on that file will produce an error message.
</P>
<P>The -b option makes the tag a branch tag, allowing concurrent, isolated development. This is most useful for creating a
patch to a previously released software distribution.
</P>
<P>You can use the standard -r and _D options to tag only those files that already contain a certain tag. This method would
be used to rename a tag: tag only the files identified by the old tag, then delete the old tag, leaving the new tag on exactly
the same files as the old tag.
</P>
<P>rtag executes recursively by default, tagging all subdirectories of modules you specify in the argument. You can restrict
its operation to top-level directories with the standard
_l option; or you can explicitly request recursion with
_R.
</P>
<P>The modules database can specify a program to execute whenever a tag is specified; a typical use is to send electronic mail
to a group of interested parties. If you want to bypass that program, use the standard
_n option.
</P>
<P>Use the _a option to have rtag look in the
Attic for removed files that contain the specified tag. The tag is removed
from these files, which makes it convenient to reuse a symbolic tag as development continues (and files get removed from
the upcoming distribution).
</P>
<!-- CODE SNIP //-->
<PRE>
status [_lRqQ][_v][files ...]
</PRE>
<!-- END CODE SNIP //-->
<TABLE>
<TR><TD>
Requires:
</TD><TD>
Working directory, repository
</TD></TR><TR><TD>
Changes:
</TD><TD>
Nothing
</TD></TR></TABLE>
<P>Display a brief report on the current status of files with respect to the source repository, including any sticky tags, dates, or
_k options. (Sticky options will restrict how cvs
update operates until you reset them; see the description of
cvs update _A....
</P>
<P>You can also use this command to anticipate the potential impact of a
cvs update on your working source directory. If
you do not specify any files explicitly, reports are shown for all files that
cvs has placed in your working directory. You can
limit the scope of this search to the current directory itself (not its subdirectories) with the standard
_l option flag; or you can explicitly request recursive status reports with the
_R option.
</P>
<P>The _v option causes the symbolic tags for the RCS file to be displayed as well.</P>
<!-- CODE SNIP //-->
<PRE>
tag [_lQqR][_F][_b][_d][_r tag | _D date][_f] symbolic_tag [files ...]
</PRE>
<!-- END CODE SNIP //-->
<TABLE>
<TR><TD>
Requires:
</TD><TD>
Working directory, repository
</TD></TR><TR><TD>
Changes:
</TD><TD>
Repository
</TD></TR><TR><TD>
Synonym:
</TD><TD>
freeze
</TD></TR></TABLE>
<P>
Use this command to assign symbolic tags to the nearest repository versions to your working sources. The tags are
applied immediately to the repository, as with
rtag. One use for tags is to record a "snapshot" of the current sources when
the software freeze date of a project arrives. As bugs are fixed after the freeze date, only those changed sources that are to be
part of the release need be retagged.
</P>
<P><CENTER>
<a href="0100-0101.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0103-0104.html">Next</A></CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?