version 1.475, 2017/10/09 02:30:54 |
version 1.476, 2017/10/10 07:41:35 |
|
|
Choose the Anonymous CVS server you are going to use from the |
Choose the Anonymous CVS server you are going to use from the |
<a href="#CVSROOT">list of servers</a> below, then you can start using cvs. |
<a href="#CVSROOT">list of servers</a> below, then you can start using cvs. |
If you begin with <tt>src.tar.gz</tt> and <tt>sys.tar.gz</tt> as mentioned |
If you begin with <tt>src.tar.gz</tt> and <tt>sys.tar.gz</tt> as mentioned |
above, you can skip the initial <tt>get</tt> and proceed to updating. |
above, you can skip the initial <tt>checkout</tt> and proceed to updating. |
|
|
|
|
<p> |
<p> |
|
|
When using cvs, you should take care that your current directory is either the |
When using cvs, you should take care that your current directory is either the |
root of the tree you are referencing or in a separate place such as |
root of the tree you are referencing or in a separate place such as |
<tt>/tmp</tt>. |
<tt>/tmp</tt>. |
Some commands, such as <tt>cvs get</tt>, can create an arbitrary sub-tree in the |
Some commands, such as <tt>cvs checkout</tt>, can create an arbitrary sub-tree |
current directory, and a subsequent update will recursively flesh out this |
in the current directory, and a subsequent update will recursively flesh out |
sub-tree. |
this sub-tree. |
|
|
<h4 id="getting">Getting an initial tree</h4> |
<h4 id="getting">Getting an initial tree</h4> |
|
|
|
|
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 <i>-stable</i> branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_6_2 -P src</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_2 -P src</b> |
</pre></blockquote> |
</pre></blockquote> |
<!-- DO NOT EDIT ANONCVS.HTML MANUALLY - IT IS GENERATED FROM TEMPLATES! --> |
<!-- DO NOT EDIT ANONCVS.HTML MANUALLY - IT IS GENERATED FROM TEMPLATES! --> |
|
|
|
|
are connecting to the expected server: |
are connecting to the expected server: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cvs -d anoncvs@anoncvs.spacehopper.org:/cvs get -P src</b> |
$ <b>cvs -d anoncvs@anoncvs.spacehopper.org:/cvs checkout -P src</b> |
The authenticity of host 'anoncvs.spacehopper.org (2001:67c:15f4:a423::28)' can't be established. |
The authenticity of host 'anoncvs.spacehopper.org (2001:67c:15f4:a423::28)' can't be established. |
ED25519 key fingerprint is SHA256:oaJ7VEyjt2EHMeixzKn9zJGiV5YlWHIUls070tKdBzI. |
ED25519 key fingerprint is SHA256:oaJ7VEyjt2EHMeixzKn9zJGiV5YlWHIUls070tKdBzI. |
Are you sure you want to continue connecting (yes/no)? |
Are you sure you want to continue connecting (yes/no)? |
|
|
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P ports</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 <i>-stable</i> branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_6_2 -P ports</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_2 -P ports</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
<li> Any time afterwards, to update this tree: |
<li> Any time afterwards, to update this tree: |
|
|
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /tmp</b> |
$ <b>cd /tmp</b> |
$ <b>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src/sys/arch/sparc</b> |
$ <b>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src/sys/arch/sparc</b> |
[copies the files from the repository to your machine] |
[copies the files from the repository to your machine] |
$ <b>cd src/sys/arch/sparc</b> |
$ <b>cd src/sys/arch/sparc</b> |
$ <b>cvs log locore.s</b> |
$ <b>cvs log locore.s</b> |