--- a/hgext/narrow/__init__.py Wed Feb 28 12:56:01 2018 -0800
+++ b/hgext/narrow/__init__.py Wed Feb 28 10:38:09 2018 -0800
@@ -84,8 +84,7 @@
# be None from core. If another extension passes a matcher (unlikely),
# we'll have to fail until matchers can be composed more easily.
assert matcher is None
- matcher = getattr(repo, 'narrowmatch', lambda: None)()
- orig(self, repo, matcher)
+ orig(self, repo, repo.narrowmatch())
def extsetup(ui):
extensions.wrapfunction(verifymod.verifier, '__init__', _verifierinit)