On Mon, Jan 28, 2013 at 5:37 PM, Richard Hipp <[email protected]> wrote:
> > I haven't yet figure out the right syntax for doing a grep of files in the > repository. The implementation should be relatively easy once the right > interface is designed. Suggestions are welcomed. > > My 2 cents: fossil grep [--type [w][ci][tk][tm]] [--from VERSION] [--to VERSION] [--branch BRANCH] [--first|--last|--change] [FILE_GLOB ...] SEARCH_PATTERN Explanation: type - what type of artifacts to search (e.g. wcitk = wiki, file, tickets) default: ci from/to - limit the search to artifacts from this range (dates, checkins, etc.) default: only the currently checked out version (but the clean one, not the dirty state) branch - only search this branch/tag first - only show the earliest match last - only show the latest match (default) change - show every commit that changed this (either added or removed it) Not sure the --change option is possible. Also, I only use fossil for regular source control, not wiki/ticket stuff, and I have never needed the grep option, so I am just suggesting what I think may make sense, but someone who uses all this may say that this type of searching doesn't make sense to some types of content. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

