hg log -m, why is it deprecated?

Cameron Simpson cs at cskk.id.au
Sun Apr 28 04:56:59 EDT 2019


On 28Apr2019 17:47, Yuya Nishihara <yuya at tcha.org> wrote:
>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()".

Aha.

>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.

Thank you, I'll do that.

I also am against adding tons of options.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Mercurial mailing list