help: suggest merge() revset instead of -m/--only-merges
authorYuya Nishihara <yuya@tcha.org>
Tue, 30 Apr 2019 15:22:03 +0900
changeset 42261 96bc1ef4a302
parent 42260 d5b35d6972a5
child 42262 a0c5e06e9b1a
help: suggest merge() revset instead of -m/--only-merges Suggested by Dr Rainer Woitok.
mercurial/commands.py
--- a/mercurial/commands.py	Mon May 06 22:06:23 2019 -0700
+++ b/mercurial/commands.py	Tue Apr 30 15:22:03 2019 +0900
@@ -3722,7 +3722,8 @@
      _('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)'),