11 |
|
|
12 |
--> |
--> |
13 |
<head> |
<head> |
14 |
<title>CVS--Concurrent Versions System v1.12.1.1: 4. Revisions</title> |
<title>CVS—Concurrent Versions System v1.12.1.1: 4. Revisions</title> |
15 |
|
|
16 |
<meta name="description" content="CVS--Concurrent Versions System v1.12.1.1: 4. Revisions"> |
<meta name="description" content="CVS—Concurrent Versions System v1.12.1.1: 4. Revisions"> |
17 |
<meta name="keywords" content="CVS--Concurrent Versions System v1.12.1.1: 4. Revisions"> |
<meta name="keywords" content="CVS—Concurrent Versions System v1.12.1.1: 4. Revisions"> |
18 |
<meta name="resource-type" content="document"> |
<meta name="resource-type" content="document"> |
19 |
<meta name="distribution" content="global"> |
<meta name="distribution" content="global"> |
20 |
<meta name="Generator" content="texi2html"> |
<meta name="Generator" content="texi2html"> |
79 |
<tr><td align="left" valign="top"><a href="#SEC46">4.2 Versions, revisions and releases</a></td><td> </td><td align="left" valign="top"> Terminology used in this manual |
<tr><td align="left" valign="top"><a href="#SEC46">4.2 Versions, revisions and releases</a></td><td> </td><td align="left" valign="top"> Terminology used in this manual |
80 |
</td></tr> |
</td></tr> |
81 |
<tr><td align="left" valign="top"><a href="#SEC47">4.3 Assigning revisions</a></td><td> </td><td align="left" valign="top"></td></tr> |
<tr><td align="left" valign="top"><a href="#SEC47">4.3 Assigning revisions</a></td><td> </td><td align="left" valign="top"></td></tr> |
82 |
<tr><td align="left" valign="top"><a href="#SEC48">4.4 Tags-Symbolic revisions</a></td><td> </td><td align="left" valign="top"></td></tr> |
<tr><td align="left" valign="top"><a href="#SEC48">4.4 Tags–Symbolic revisions</a></td><td> </td><td align="left" valign="top"></td></tr> |
83 |
<tr><td align="left" valign="top"><a href="#SEC49">4.5 Specifying what to tag from the working directory</a></td><td> </td><td align="left" valign="top"> The cvs tag command |
<tr><td align="left" valign="top"><a href="#SEC49">4.5 Specifying what to tag from the working directory</a></td><td> </td><td align="left" valign="top"> The cvs tag command |
84 |
</td></tr> |
</td></tr> |
85 |
<tr><td align="left" valign="top"><a href="#SEC50">4.6 Specifying what to tag by date or revision</a></td><td> </td><td align="left" valign="top"> The cvs rtag command |
<tr><td align="left" valign="top"><a href="#SEC50">4.6 Specifying what to tag by date or revision</a></td><td> </td><td align="left" valign="top"> The cvs rtag command |
199 |
numeric revision <code>4.1</code>. |
numeric revision <code>4.1</code>. |
200 |
</p> |
</p> |
201 |
<p>Normally there is no reason to care |
<p>Normally there is no reason to care |
202 |
about the revision numbers--it is easier to treat them |
about the revision numbers—it is easier to treat them |
203 |
as internal numbers that <small>CVS</small> maintains, and tags |
as internal numbers that <small>CVS</small> maintains, and tags |
204 |
provide a better way to distinguish between things like |
provide a better way to distinguish between things like |
205 |
release 1 versus release 2 of your product |
release 1 versus release 2 of your product |
206 |
(see section <a href="#SEC48">Tags-Symbolic revisions</a>). However, if you want to set the |
(see section <a href="#SEC48">Tags–Symbolic revisions</a>). However, if you want to set the |
207 |
numeric revisions, the <samp>`-r'</samp> option to <code>cvs |
numeric revisions, the <samp>`-r'</samp> option to <code>cvs |
208 |
commit</code> can do that. The <samp>`-r'</samp> option implies the |
commit</code> can do that. The <samp>`-r'</samp> option implies the |
209 |
<samp>`-f'</samp> option, in the sense that it causes the |
<samp>`-f'</samp> option, in the sense that it causes the |
240 |
<td valign="middle" align="left">[<a href="cvs_24.html#SEC189" title="Index">Index</a>]</td> |
<td valign="middle" align="left">[<a href="cvs_24.html#SEC189" title="Index">Index</a>]</td> |
241 |
<td valign="middle" align="left">[<a href="cvs_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
<td valign="middle" align="left">[<a href="cvs_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
242 |
</tr></table> |
</tr></table> |
243 |
<h2 class="section"> 4.4 Tags-Symbolic revisions </h2> |
<h2 class="section"> 4.4 Tags–Symbolic revisions </h2> |
244 |
|
|
245 |
<p>The revision numbers live a life of their own. They |
<p>The revision numbers live a life of their own. They |
246 |
need not have anything at all to do with the release |
need not have anything at all to do with the release |
689 |
associated with it, for example it might be on a branch |
associated with it, for example it might be on a branch |
690 |
(see section <a href="cvs_5.html#SEC54">Branching and merging</a>), or restricted to |
(see section <a href="cvs_5.html#SEC54">Branching and merging</a>), or restricted to |
691 |
versions prior to a certain date by <samp>`checkout -D'</samp> |
versions prior to a certain date by <samp>`checkout -D'</samp> |
692 |
or <samp>`update -D'</samp>. Because this data persists - |
or <samp>`update -D'</samp>. Because this data persists – |
693 |
that is, it applies to subsequent commands in the |
that is, it applies to subsequent commands in the |
694 |
working copy - we refer to it as <em>sticky</em>. |
working copy – we refer to it as <em>sticky</em>. |
695 |
</p> |
</p> |
696 |
<p>Most of the time, stickiness is an obscure aspect of |
<p>Most of the time, stickiness is an obscure aspect of |
697 |
<small>CVS</small> that you don't need to think about. However, |
<small>CVS</small> that you don't need to think about. However, |
720 |
you delete them with <samp>`cvs update -A'</samp>. The |
you delete them with <samp>`cvs update -A'</samp>. The |
721 |
<samp>`-A'</samp> option merges local changes into the version of the |
<samp>`-A'</samp> option merges local changes into the version of the |
722 |
file from the head of the trunk, removing any sticky tags, |
file from the head of the trunk, removing any sticky tags, |
723 |
dates, or options. See <a href="cvs_16.html#SEC153">update--Bring work tree in sync with repository</a> for more on the operation |
dates, or options. See <a href="cvs_16.html#SEC153">update—Bring work tree in sync with repository</a> for more on the operation |
724 |
of <code>cvs update</code>. |
of <code>cvs update</code>. |
725 |
</p> |
</p> |
726 |
<a name="IDX119"></a> |
<a name="IDX119"></a> |