hg log --follow <filename> not working as expected

Ludovic Chabant ludovic at chabant.com
Tue Jan 19 09:01:29 CST 2016


Yep, indeed adding `--exclude` even with a string like "blahblah" that
can't possibly match anything in that test repo will result in only
listing the last revision. It's as if `--exclude` made `--follow` be
forgotten or something.

-- 
 l u d o .
 . 8 0 17 80

On Tue, Jan 19, 2016, at 03:26, Andrew Taumoefolau wrote:
> Hi Ludovic,
> 
> > The usual suspect for this kind of thing is your ~/.hgrc, which maybe
> > defines some weird aliases or defaults, or includes a faulty extension.
> 
> This was exactly it — I had an alias for log that set an exclude.
> Removing that alias results in log doing what I expected.
> 
> If you try `hg log -f 3 --exclude anything`, does it result in the
> behaviour I observed? If so I may file a bug report as I don’t think this
> is intended behaviour.
> 
> Cheers,
> 
> Andrew


More information about the Mercurial mailing list