On Mon, Nov 29, 2021 at 10:10 AM Luke Mauldin <lukemaul...@icloud.com> wrote:
>
> Is there a recommended way to do a full text search of commits that include 
> changed text. For example if I wanted “svn log” to show me all of that 
> commits that have an added or deleted line that contains “foo”, is that 
> possible? Git has similar functionality in “git log -S foo”
> Using “svn diff -r:HEAD | grep foo” gets me close but that just gives me the 
> lines that changed and not the commit that they changed.

With newer versions of SVN, the log command has a --search argument:

https://svnbook.red-bean.com/nightly/en/svn.ref.svn.html#svn.ref.svn.sw.search
https://subversion.apache.org/docs/release-notes/1.8.html#svn-log-search

Mark

Reply via email to