On Sat, 24 Nov 2012 14:18:55 +0100, Richard Hipp <d...@sqlite.org> wrote:
On Sat, Nov 24, 2012 at 7:57 AM, 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)?
j.
ps: yes, I would know now (after having learned how to use `fossil
artifact' correctly...) how to write a shell script doing that. but that
would mean to dump the full content of each revision and pipe it through
the grep which will become slow if there are too many revisions. so the
question is whether the functionality is already builtin (possibly
grepping
through the deltas instead).
This functionality is not built-in. Nobody has ever thought of it before
OK
in 6 years of use, apparently, or at least has not mentioned it to me.
neither did I, but the developers of `hg' did (the `hg grep' command). and
I have found it quite useful by and then: "there used to be some
expression/phrasing/function in the document/source code some time ago and
I recall it contained the pattern XYZ but not the details. question: in
which revision(s) exactly is that stuff? when was it finally deleted?".
is that such a rare situation for other folk?
j.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
______________________________**_________________
fossil-users mailing list
fossil-users@lists.fossil-scm.**org <fossil-users@lists.fossil-scm.org>
http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-users<http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users>
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users