author | Martin von Zweigbergk <martinvonz@google.com> |
Fri, 30 Mar 2018 11:15:58 -0700 | |
changeset 37186 | 6d43b39fbaa0 |
parent 37185 | 027db60ae756 |
child 37187 | 03ff17a4bf53 |
--- a/hgext/narrow/__init__.py Fri Mar 30 11:33:21 2018 -0700 +++ b/hgext/narrow/__init__.py Fri Mar 30 11:15:58 2018 -0700 @@ -71,7 +71,7 @@ def reposetup(ui, repo): """Wraps local repositories with narrow repo support.""" - if not isinstance(repo, localrepo.localrepository): + if not repo.local(): return narrowrepo.wraprepo(repo)