[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Book: small inconsistencies in command line examples

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-05-21 07:47:54 CEST

I've broken the huge book patch I posted a while ago into several
smaller patches containing related changes. Hopefully that will make
them much easier to review and apply.

This is the second of the smaller patches (the first, about a week ago,
contained just typo fixes). There are two more that I'll send
separately. This patch simply fixes some inconsistencies in command
line examples throughout the book.

Log:
Fix small inconsistencies in command line examples in the book.

* doc/book/book/appb.xml
  (svn-ap-b-sect-1.2.2): Change 'svn cleanup working-copy' to just 'svn
  cleanup' since the text says to run it from the top of the WC.

* doc/book/book/ch02.xml
  (svn-ch-2-sect-3.1): Change 'ls -a' to 'ls -A' since . and .. are not
  shown in the output.

* doc/book/book/ch03.xml
  (svn-ch-3-sect-4): Change revision 3678 to revision 2499 to be
  consistent with all the other examples.

* doc/book/book/ch04.xml
  (svn-ch-4-sect-2.1): Change trunk/ to trunk because trailing slashes
  are not used that way in other examples.
  (svn-ch-4-sect-6.2): Remove . and .. from ls output (no -a was given).

Index: doc/book/book/appb.xml
===================================================================
--- doc/book/book/appb.xml (revision 9813)
+++ doc/book/book/appb.xml (working copy)
@@ -94,7 +94,7 @@
           working copy:</para>
         
         <screen>
-$ svn cleanup working-copy
+$ svn cleanup
 </screen>
 
       </sect3>
Index: doc/book/book/ch02.xml
===================================================================
--- doc/book/book/ch02.xml (revision 9813)
+++ doc/book/book/ch02.xml (working copy)
@@ -307,7 +307,7 @@
 A calc/integer.c
 A calc/button.c
 
-$ ls -a calc
+$ ls -A calc
 Makefile integer.c button.c .svn/
 </screen>
 
@@ -448,7 +448,7 @@
 $ pwd
 /home/sally/calc
 
-$ ls -a
+$ ls -A
 .svn/ Makefile integer.c button.c
 
 $ svn update
Index: doc/book/book/ch03.xml
===================================================================
--- doc/book/book/ch03.xml (revision 9813)
+++ doc/book/book/ch03.xml (working copy)
@@ -335,7 +335,7 @@
 A tools/dtd
 A tools/dtd/dblite.dtd
 &hellip;
-Checked out revision 3678.
+Checked out revision 2499.
 </screen>
     
     <para>Since Subversion uses a <quote>copy-modify-merge</quote>
Index: doc/book/book/ch04.xml
===================================================================
--- doc/book/book/ch04.xml (revision 9813)
+++ doc/book/book/ch04.xml (working copy)
@@ -180,13 +180,13 @@
 
 <screen>
 $ cd bigwc
-$ svn copy trunk/ branches/my-calc-branch
+$ svn copy trunk branches/my-calc-branch
 $ svn status
 A + branches/my-calc-branch
 </screen>
 
       <para>In this case, the <command>svn copy</command> command
- recursively copies the <filename>trunk/</filename> working
+ recursively copies the <filename>trunk</filename> working
         directory to a new working directory,
         <filename>branches/my-calc-branch</filename>. As you can see
         from the <command>svn status</command> command, the new
@@ -1507,7 +1507,7 @@
 
 <screen>
 $ ls
-./ ../ my-working-copy/
+my-working-copy/
 
 $ svn copy my-working-copy http://svn.example.com/repos/calc/tags/mytag
 

-- 
Michael W. Thelen
No amount of genius can overcome a preoccupation with detail.
                -- Levy's Eighth Law

Received on Fri May 21 07:49:27 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.