docs/87762: Fixes various anoncvs examples to work
Jacques Marneweck
jacques at prometheus.powertrip.co.za
Thu Oct 20 22:10:16 UTC 2005
>Number: 87762
>Category: docs
>Synopsis: Fixes various anoncvs examples to work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 20 22:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jacques Marneweck
>Release: FreeBSD 5.4-RELEASE-p7 i386
>Organization:
Ataris Technologies
>Environment:
n/a
>Description:
Currently the examples for using anoncvs via SSH and pserver do not work. I've attached a patch which resolves these
problems by fixing the anoncvs username for anoncvs.freebsd.org and using the japanese anoncvs mirror for the pserver
method.
>How-To-Repeat:
Try use the anoncvs examples on the anoncvs handbook page.
>Fix:
--- handbook-anoncvs.patch begins here ---
Index: doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
retrieving revision 1.387
diff -u -r1.387 chapter.sgml
--- doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml 11 Sep 2005 08:16:19 -0000 1.387
+++ doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml 20 Oct 2005 21:56:51 -0000
@@ -456,7 +456,7 @@
<title>Checking Out Something from -CURRENT (&man.ls.1;) and
Deleting It Again:</title>
- <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.FreeBSD.org:/home/ncvs</userinput>
+ <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
&prompt.user; <userinput>cvs login</userinput>
<emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
&prompt.user; <userinput>cvs co ls</userinput>
@@ -468,7 +468,7 @@
<example>
<title>Using SSH to check out the <filename>src/</filename>
tree:</title>
- <screen>&prompt.user; <userinput>cvs -d freebsdanoncvs at anoncvs.FreeBSD.org:/home/ncvs co src</userinput>
+ <screen>&prompt.user; <userinput>cvs -d anoncvs at anoncvs.FreeBSD.org:/home/ncvs co src</userinput>
The authenticity of host 'anoncvs.freebsd.org (128.46.156.46)' can't be established.
DSA key fingerprint is 52:02:38:1a:2f:a8:71:d3:f5:83:93:8d:aa:00:6f:65.
Are you sure you want to continue connecting (yes/no)? <userinput>yes</userinput>
@@ -479,7 +479,7 @@
<title>Checking Out the Version of &man.ls.1; in the 3.X-STABLE
Branch:</title>
- <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.FreeBSD.org:/home/ncvs</userinput>
+ <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
&prompt.user; <userinput>cvs login</userinput>
<emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
&prompt.user; <userinput>cvs co -rRELENG_3 ls</userinput>
@@ -491,7 +491,7 @@
<example>
<title>Creating a List of Changes (as Unified Diffs) to &man.ls.1;</title>
- <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.FreeBSD.org:/home/ncvs</userinput>
+ <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
&prompt.user; <userinput>cvs login</userinput>
<emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
&prompt.user; <userinput>cvs rdiff -u -rRELENG_3_0_0_RELEASE -rRELENG_3_4_0_RELEASE ls</userinput>
@@ -502,7 +502,7 @@
<example>
<title>Finding Out What Other Module Names Can Be Used:</title>
- <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.FreeBSD.org:/home/ncvs</userinput>
+ <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs at anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
&prompt.user; <userinput>cvs login</userinput>
<emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
&prompt.user; <userinput>cvs co modules</userinput>
--- handbook-anoncvs.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list