narrow: add '()' to ellipsis in the revset help
ellipsis is a revset function and was missing () after it's name in the help
text. This might confuse users as they try `hg log -r 'ellipsis'`.
Differential Revision: https://phab.mercurial-scm.org/D4167
--- a/hgext/narrow/narrowtemplates.py Thu Aug 09 10:11:10 2018 -0400
+++ b/hgext/narrow/narrowtemplates.py Thu Aug 09 12:20:28 2018 +0300
@@ -42,7 +42,7 @@
return 'outsidenarrow'
return ''
-@revsetpredicate('ellipsis')
+@revsetpredicate('ellipsis()')
def ellipsisrevset(repo, subset, x):
"""Changesets that are ellipsis nodes."""
return subset.filter(lambda r: _isellipsis(repo, r))