Mercurial > hg-stable
changeset 39002: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 | 467b5c1df72d |
children | cf68e2649e0a |
files | hgext/narrow/narrowtemplates.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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))