Repo-relative indicator

Bosco Rama hg at boscorama.com
Tue Nov 26 10:52:12 CST 2013


On 11/26/13 04:47, Wagner Bruna wrote:
> 
> You may use "path:" for exact filenames, or anchor a regex pattern with "^".
> See "hg help patterns" for details.

I've always used 're:' for local dir.  Didn't even consider using
it as a simple prefix adornment.  One doesn't even need to use the
anchor:
   hg log -l 5 re:x/y/z/w/file.ext
works just fine.

Hmmm.  I wonder if there is any way to make 're:' the default pattern
form and then simply use the anchor as the 'repo prefix'?  Food for
thought.

Anyway, thanks for the gentle gyro readjustment. :-)

Bosco.


More information about the Mercurial mailing list