[PATCH] help: suggest merge() revset instead of -m/--only-merges

Augie Fackler raf at durin42.com
Wed May 8 16:18:32 EDT 2019


queued, thanks

> On Apr 30, 2019, at 02:46, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1556605323 -32400
> #      Tue Apr 30 15:22:03 2019 +0900
> # Node ID c80e35b4d31e1e711cdc8c3db1447b1967f11445
> # Parent  4ee38eceffa9ed735e59cb48324c1a4edcab9d3e
> help: suggest merge() revset instead of -m/--only-merges
> 
> Suggested by Dr Rainer Woitok.
> 
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -3718,7 +3718,8 @@ def locate(ui, repo, *pats, **opts):
>      _('follow line range of specified file (EXPERIMENTAL)'),
>      _('FILE,RANGE')),
>     ('', 'removed', None, _('include revisions where files were removed')),
> -    ('m', 'only-merges', None, _('show only merges (DEPRECATED)')),
> +    ('m', 'only-merges', None,
> +     _('show only merges (DEPRECATED) (use -r "merge()" instead)')),
>     ('u', 'user', [], _('revisions committed by user'), _('USER')),
>     ('', 'only-branch', [],
>      _('show only changesets within the given named branch (DEPRECATED)'),
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list