Grepfile Extension
Search files for a regular expression.
Contents
1. Status
This extension is not distributed with Mercurial.
Author: TakumiIino
Repository: https://bitbucket.org/troter/hg-grepfile
Web page: https://bitbucket.org/troter/hg-grepfile
2. Overview
This extension adds a new command grepfile that search files for a regular expression.
hg grepfile --ignore-case --line-number --rev . ctx.walk
3. Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] grepfile = [path to]/grepfile.py
4. See also
filesets, which include a grep() predicate