[svnbook] r3926 committed - * src/en/book/ch09-reference.xml...

svnbook at googlecode.com svnbook at googlecode.com
Thu Jul 28 10:15:47 CDT 2011


Revision: 3926
Author:   cmpilato at gmail.com
Date:     Thu Jul 28 08:15:08 2011
Log:      * src/en/book/ch09-reference.xml
   Xref-ify a mention of 'svn switch', and cleanup an example a bit.

http://code.google.com/p/svnbook/source/detail?r=3926

Modified:
  /trunk/src/en/book/ch09-reference.xml

=======================================
--- /trunk/src/en/book/ch09-reference.xml	Wed Jul 27 08:48:56 2011
+++ /trunk/src/en/book/ch09-reference.xml	Thu Jul 28 08:15:08 2011
@@ -558,8 +558,8 @@
                your working copy references.  This is useful if the
                location of your repository changes and you have an
                existing working copy that you'd like to continue to
-              use.  See <command>svn switch</command> for an
-              example.</para>
+              use.  See <xref linkend="svn.ref.svn.c.switch"/> for
+              more details and an example.</para>
            </listitem>
          </varlistentry>

@@ -5464,15 +5464,16 @@
  A  test/b
  …

-$ mv repos newlocation
-$ cd test/
-
-$ svn update
+$ mv /var/svn/repos /var/svn/newlocation
+
+$ svn update test/
  svn: Unable to open an ra_local session to URL
  svn: Unable to open repository 'file:///var/svn/repos'

-$ svn switch --relocate file:///var/svn/repos file:///tmp/newlocation .
-$ svn update
+$ svn switch --relocate file:///var/svn/repos \
+                        file:///var/svn/tmp/newlocation test/
+
+$ svn update test/
  At revision 3.
  </screen>
            </informalexample>




More information about the svnbook-dev mailing list