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 2012/09/17 17:53:54 UTC

svn commit: r1386673 - /subversion/site/publish/docs/release-notes/1.8.html

Author: stsp
Date: Mon Sep 17 15:53:54 2012
New Revision: 1386673

URL: http://svn.apache.org/viewvc?rev=1386673&view=rev
Log:
* publish/docs/release-notes/1.8.html: Mention 'svn log --search'.

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

Modified: subversion/site/publish/docs/release-notes/1.8.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.8.html?rev=1386673&r1=1386672&r2=1386673&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.8.html (original)
+++ subversion/site/publish/docs/release-notes/1.8.html Mon Sep 17 15:53:54 2012
@@ -454,6 +454,35 @@ directories are walked recursively and f
 
 </div>  <!-- svn-diff -->
 
+<div class="h4" id="svn-log-search">
+<h4>'svn log' can filter log messages based on search terms
+  <a class="sectionlink" href="#svn-log-search"
+    title="Link to this section">&para;</a>
+</h4>
+
+<p>The <tt>svn log</tt> command supports a new <tt>--search</tt>
+option that can be used to show only log messages matching any
+of one or more provided search patterns. A log message is shown only
+if a revision's author, date, log message text, or list of changed paths,
+matches a search pattern.</p>
+
+<p>The log could be searched for revisions which deleted a particular
+file, or more generally for revisions which affected a given file on
+any branch in the repository:</p>
+<pre>svn log -v --search &quot;src/foo.c&quot; http://svn.example.com/svn/</pre>
+
+The new <tt>--search-and</tt> option can be used for grouping search
+terms such that they must match together.
+For example, when run in a working copy, the following command shows
+log messages for revisions which were committed by (or otherwise match)
+author <tt>james</tt> in September 2012:</p>
+<pre>svn log --search james --search-and &quot;Sep 2012&quot;</pre>
+
+<p>There are also new <tt>--isearch</tt> and <tt>--isearch-and</tt>
+options, which perform case-insensitive matching.</p>
+
+</div>  <!-- svn-log-search -->
+
 <div class="h4" id="conflicts-postponed">
 <h4>Conflicts are now always postponed during updates and merges
   <a class="sectionlink" href="#conflicts-postponed"