hg log -m, why is it deprecated?

Yuya Nishihara yuya at tcha.org
Sun Apr 28 08:47:32 UTC 2019


On Sun, 28 Apr 2019 08:01:06 +1000, Cameron Simpson wrote:
> "hg help log -v" says:
> 
>    -m --only-merges               show only merges (DEPRECATED)
> 
> What is the reason that this is deprecated? As a microcommitter I often 
> think the merge only graph log is a useful thing for getting a history 
> overview.

That's probably because --only-merges is equivalent to -r "merge()".

It's sometimes unclear how command options are composed (e.g. OR vs AND),
so we tend to avoid adding tons of options and instead introduced a mini
language. See "hg help revset" for details.



More information about the Mercurial mailing list