# HG changeset patch # User Matt Harbison # Date 1545596318 18000 # Node ID c61b8dfb07c8832f488c1119baf258fa47900d27 # Parent f7863606d4ff6ba2c1f013269c46b3de4c0e163e remotefilelog: use repo.local() instead of isinstance() diff -r f7863606d4ff -r c61b8dfb07c8 hgext/remotefilelog/__init__.py --- a/hgext/remotefilelog/__init__.py Sun Dec 23 14:52:43 2018 -0500 +++ b/hgext/remotefilelog/__init__.py Sun Dec 23 15:18:38 2018 -0500 @@ -375,7 +375,7 @@ remotefilelog.remotefilelog.__len__ = oldlen def reposetup(ui, repo): - if not isinstance(repo, localrepo.localrepository): + if not repo.local(): return # put here intentionally bc doesnt work in uisetup