Patchwork D4167: narrow: add '()' to ellipsis in the revset help

login
register
mail settings
Submitter phabricator
Date Aug. 9, 2018, 6:06 p.m.
Message ID <eb3e3ea14b6dd45cbf987070bd308429@localhost.localdomain>
Download mbox | patch
Permalink /patch/33478/
State Not Applicable
Headers show

Comments

phabricator - Aug. 9, 2018, 6:06 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG05ded838c997: narrow: add &#039;()&#039; to ellipsis in the revset help (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4167?vs=10096&id=10128

REVISION DETAIL
  https://phab.mercurial-scm.org/D4167

AFFECTED FILES
  hgext/narrow/narrowtemplates.py

CHANGE DETAILS




To: pulkit, durin42, #hg-reviewers
Cc: mjpieters, mercurial-devel

Patch

diff --git a/hgext/narrow/narrowtemplates.py b/hgext/narrow/narrowtemplates.py
--- a/hgext/narrow/narrowtemplates.py
+++ b/hgext/narrow/narrowtemplates.py
@@ -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))