Differences between revisions 2 and 3
Revision 2 as of 2013-01-21 18:22:44
Size: 802
Editor: mpm
Comment:
Revision 3 as of 2013-01-21 18:23:44
Size: 832
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
 * [[Cmd:grep|grep command]]

Grepfile Extension

Search files for a regular expression.

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


CategoryExtensionsByOthers

GrepfileExtension (last edited 2013-01-21 18:23:44 by mpm)