Mercurial > hg
changeset 36083:9772ef9f6c04
narrow: assume addflagprocessor will always exist on revlog module
Differential Revision: https://phab.mercurial-scm.org/D1978
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 29 Jan 2018 18:16:23 -0500 |
parents | adc8e1fe2f46 |
children | dc01484606da |
files | hgext/narrow/narrowrevlog.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/narrow/narrowrevlog.py Mon Jan 29 18:13:56 2018 -0500 +++ b/hgext/narrow/narrowrevlog.py Mon Jan 29 18:16:23 2018 -0500 @@ -27,9 +27,8 @@ def rawtransform(self, text): return False -if util.safehasattr(revlog, 'addflagprocessor'): - revlog.addflagprocessor(ELLIPSIS_NODE_FLAG, - (readtransform, writetransform, rawtransform)) +revlog.addflagprocessor(ELLIPSIS_NODE_FLAG, + (readtransform, writetransform, rawtransform)) def setup(): # We just wanted to add the flag processor, which is done at module