Mercurial > hg
diff hgext/narrow/narrowtemplates.py @ 38964:05ded838c997
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
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 09 Aug 2018 12:20:28 +0300 |
parents | 7b74afec6772 |
children | 45c18f7345c1 |
line wrap: on
line diff
--- 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))