Searching for a specific line of code in diffs
- From: Matthew Good <trac (at) matt-good.net>
- Date: Fri, 03 Mar 2006 10:21:48 -0500
On Fri, 2006-03-03 at 16:04 +0100, Markus Tacker wrote:
> I am just trying to find a change where I removed a specific line in
> the code (e.g. "function myFunction").
>
> So, I expect to find a list of all diffs that contain the search string.
>
> Is this possible with trac or even with svn?
Not in Trac. SVN has the "blame" functionality, though I guess that
doesn't really work when you're searching for a removed line. If you
know a version that has the line you're looking for you can do a sort of
binary search on the revisions between then and now. This could be
scripted, though I don't know of a tool for SVN that does this.
--
Matthew Good <trac (at) matt-good.net>
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac