On Wed, Dec 5, 2012 at 8:38 AM, Lluís Batlle i Rossell <vi...@viric.name>wrote:

> On Wed, Dec 05, 2012 at 01:51:51PM +0100, Gilles wrote:
> > On Sat, 24 Nov 2012 13:57:41 +0100, "j. v. d. hoff"
> > <veedeeh...@googlemail.com> wrote:
> > >question: is there a straightforward (or sqlite-based) way to `grep'
> > >through a specified file recursively backward in time through all
> > >revisions (or until first hit of the search pattern)?
> >
> > Since this thread is a bit long, I'd like to ask: At this point, what
> > is the solution to find a piece of code that can be in any revision in
> > any file in the repository?
> >
> > I'm looking for a function that I know is a file somewhere, but don't
> > know how to proceed.
>
> As I said early in the thread, deconstruct + grep. :)
>

Or maybe:

(1) grep function_name *.c */*.c    # Adjust GLOB expressions as appropriate
(2) fossil up prev
(3) goto (1)

Repeat until the grep finds your function.



> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to