[svnbook commit] r3025 - trunk/src/en/book

cmpilato noreply at red-bean.com
Mon Mar 31 23:50:41 CDT 2008


Author: cmpilato
Date: Mon Mar 31 23:50:40 2008
New Revision: 3025

Log:
* src/en/book/ch09-reference.xml
  Document the 'svnlook changed --copy-info' option.


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

Modified: trunk/src/en/book/ch09-reference.xml
==============================================================================
--- trunk/src/en/book/ch09-reference.xml	(original)
+++ trunk/src/en/book/ch09-reference.xml	Mon Mar 31 23:50:40 2008
@@ -5968,6 +5968,14 @@
       <variablelist>
 
         <varlistentry>
+          <term><option>--copy-info</option></term>
+          <listitem>
+            <para>Causes <command>svnlook changed</command> to show
+              detailed copy source information.</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
           <term><option>--no-diff-deleted</option></term>
           <listitem>
             <para>Prevents <command>svnlook diff</command> from printing
@@ -6213,6 +6221,7 @@
           <screen>
 --revision (-r) REV
 --transaction (-t)
+--copy-info
 </screen>
         </refsect1>
 
@@ -6235,7 +6244,28 @@
 UU  trunk/vendors/baker/pretzel.txt
 D   trunk/vendors/baker/baguette.txt
 </screen>
-          
+
+          <para>Here's an example that shows a revision in which a
+            file was renamed:</para>
+
+          <screen>
+$ svnlook changed -r 64 /var/svn/repos
+A   trunk/vendors/baker/toast.txt
+D   trunk/vendors/baker/bread.txt
+</screen>
+
+          <para>Unfortunately, nothing in the previous output reveals
+            the connection between the deleted and added files.  Use
+            the <option>--copy-info</option> option to make this
+            relationship more apparent:</para>
+
+          <screen>
+$ svnlook changed -r 64 --copy-info /var/svn/repos
+A   trunk/vendors/baker/toast.txt
+    (from trunk/vendors/baker/bread.txt:r63)
+D   trunk/vendors/baker/bread.txt
+</screen>
+
         </refsect1>
       </refentry>
 




More information about the svnbook-dev mailing list