Mercurial > hg
changeset 41058:c61b8dfb07c8
remotefilelog: use repo.local() instead of isinstance()
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 23 Dec 2018 15:18:38 -0500 |
parents | f7863606d4ff |
children | 0ecf58f7c2b2 |
files | hgext/remotefilelog/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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