version 1.112, 2007/09/25 15:15:13 |
version 1.113, 2008/01/29 02:52:42 |
|
|
<ul> |
<ul> |
<li><a href="#cvsup">What Is CVSup?</a></li> |
<li><a href="#cvsup">What Is CVSup?</a></li> |
<li><a href="#starting">Getting Started Using CVSup</a></li> |
<li><a href="#starting">Getting Started Using CVSup</a></li> |
<li><a href="#using">Using CVS to Update Your Source Tree</a></li> |
<li><a href="#using">Using CVS to Work With Your Repository</a></li> |
<li><a href="#checkout">Running CVSup in Checkout Mode</a></li> |
<li><a href="#checkout">Running CVSup in Checkout Mode</a></li> |
<li><a href="#CVSROOT">Available CVSup Servers</a></li> |
<li><a href="#CVSROOT">Available CVSup Servers</a></li> |
</ul> |
</ul> |
|
|
</pre> |
</pre> |
|
|
<h3><a name="using"> |
<h3><a name="using"> |
<font color="#0000e0">Using CVS to Update Your Source Tree</font> |
<font color="#0000e0">Using CVS to Work With Your Repository</font> |
</a></h3> |
</a></h3> |
|
|
<p> |
<p> |
It is now simple to check out any one of the CVSup'ed repositories: |
Now that you have a local copy of the CVS repository, it is now simple |
|
to check out, update, or do any of the other CVS operations you would |
|
normally do against a remote repository, locally. |
|
Fore example: |
<pre> |
<pre> |
# cd /usr |
cvs -d/cvs checkout src -P |
# cvs -d /cvs checkout src |
cvs -d/cvs up -Pd |
|
cvs -d/cvs diff -u file.c |
</pre> |
</pre> |
|
More details on CVS operation can be found in |
<p> |
<a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source |
The above will check out the most current sources. Many of you will only |
code</a> and in the |
want the release sources, especially if you are patching your system. To |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1">cvs(1)</a> |
checkout release sources you must specify a tag along with your command. |
man page. |
For example: |
|
<pre> |
|
# cd /usr |
|
# cvs -d /cvs checkout -rOPENBSD_3_7 src |
|
</pre> |
|
<p> |
|
Or <tt>OPENBSD_3_6</tt> for 3.6, etc. |
|
|
|
<h3><a name="checkout"><font color="#0000e0">Running CVSup in |
<h3><a name="checkout"><font color="#0000e0">Running CVSup in |
Checkout Mode</font></a></h3> |
Checkout Mode</font></a></h3> |