diff -r 8197b395710e -r 4aa72cdf616f hgext/remotefilelog/shallowrepo.py --- a/hgext/remotefilelog/shallowrepo.py Tue Oct 08 19:35:30 2019 -0700 +++ b/hgext/remotefilelog/shallowrepo.py Sun Oct 06 20:17:41 2019 -0700 @@ -345,7 +345,7 @@ repo.excludepattern = repo.ui.configlist( b"remotefilelog", b"excludepattern", None ) - if not util.safehasattr(repo, b'connectionpool'): + if not util.safehasattr(repo, 'connectionpool'): repo.connectionpool = connectionpool.connectionpool(repo) if repo.includepattern or repo.excludepattern: