You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/01/12 15:38:32 UTC

svn commit: r1058157 - /subversion/site/publish/docs/release-notes/1.7.html

Author: stsp
Date: Wed Jan 12 14:38:32 2011
New Revision: 1058157

URL: http://svn.apache.org/viewvc?rev=1058157&view=rev
Log:
* publish/docs/release-notes/1.7.html
  (cmdline): Mention new --show-copies-as-adds option for svn diff.

Modified:
    subversion/site/publish/docs/release-notes/1.7.html

Modified: subversion/site/publish/docs/release-notes/1.7.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.7.html?rev=1058157&r1=1058156&r2=1058157&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.7.html (original)
+++ subversion/site/publish/docs/release-notes/1.7.html Wed Jan 12 14:38:32 2011
@@ -350,6 +350,24 @@ for a complete list.</p>
 
 <!-- Insert selected items here -->
 
+<div class="h4" id="diff-show-copies-as-adds">
+<h4>svn diff can show copied files as if they were newly added.
+  <a class="sectionlink" href="#diff-show-copies-as-adds"
+    title="Link to this section">&para;</a>
+</h4>
+<p>When <code>svn diff</code> shows a copied file, it usually shows how the
+copied file differs from the file it was copied from.
+Sometimes this isn't the desired form of output. There are situations where
+a copied file needs to appear in its entirety, for instance when producing
+a patch file to be applied elsewhere with a patch tool (such as
+<a href="#patch"><code>svn patch</code></a>).</p>
+
+<p>In Subversion 1.7, <code>svn diff</code> takes a new
+<strong><tt>--show-copies-as-adds</tt></strong> option which causes copied
+files to be shown in their entirety, just like newly added files are shown.</p>
+
+</div>  <!-- diff-show-copies-as-adds -->
+
 </div>  <!-- cmdline -->
 
 <div class="h3" id="apis">