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/13 01:49:12 UTC

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

Author: stsp
Date: Thu Jan 13 00:49:11 2011
New Revision: 1058378

URL: http://svn.apache.org/viewvc?rev=1058378&view=rev
Log:
* publish/docs/release-notes/1.7.html
  (cmdline): Mention svn log --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=1058378&r1=1058377&r2=1058378&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.7.html (original)
+++ subversion/site/publish/docs/release-notes/1.7.html Thu Jan 13 00:49:11 2011
@@ -444,6 +444,42 @@ for a complete list.</p>
 
 <!-- Insert selected items here -->
 
+<div class="h4" id="log-diff">
+<h4>svn log can now print diffs
+  <a class="sectionlink" href="#log-diff"
+    title="Link to this section">&para;</a>
+</h4>
+<p><code>svn log</code> accepts the new <strong><tt>--diff</tt></strong>
+option which causes it to show changes committed in a revision as
+a unified diff. Below is example output:</p>
+<pre>
+  $ svn log --diff -r1033146 http://svn.apache.org/repos/asf/subversion/trunk
+  ------------------------------------------------------------------------
+  r1033146 | hwright | 2010-11-09 19:40:46 +0100 (Tue, 09 Nov 2010) | 3 lines
+
+  * subversion/libsvn_wc/wc_db.c
+    (svn_wc__db_op_copy): Remove unused variable.
+
+
+  Index: subversion/libsvn_wc/wc_db.c
+  ===================================================================
+  --- subversion/libsvn_wc/wc_db.c	(revision 1033145)
+  +++ subversion/libsvn_wc/wc_db.c	(revision 1033146)
+  @@ -3061,7 +3061,7 @@ svn_wc__db_op_copy(svn_wc__db_t *db,
+                      apr_pool_t *scratch_pool)
+   {
+     svn_wc__db_pdh_t *src_pdh, *dst_pdh;
+  -  const char *src_relpath, *dst_relpath, *dst_op_root_relpath;
+  +  const char *src_relpath, *dst_relpath;
+     apr_int64_t dst_op_depth;
+   
+     SVN_ERR_ASSERT(svn_dirent_is_absolute(src_abspath));
+
+  ------------------------------------------------------------------------
+</pre>
+
+</div>  <!-- log-diff -->
+
 <div class="h4" id="update-parents">
 <h4>svn update now accepts the --parents option
   <a class="sectionlink" href="#update-parents"