diff -r 8197b395710e -r 4aa72cdf616f hgext/remotefilelog/fileserverclient.py --- a/hgext/remotefilelog/fileserverclient.py Tue Oct 08 19:35:30 2019 -0700 +++ b/hgext/remotefilelog/fileserverclient.py Sun Oct 06 20:17:41 2019 -0700 @@ -89,7 +89,7 @@ not in self.capabilities() ): return - if not util.safehasattr(self, b'_localrepo'): + if not util.safehasattr(self, '_localrepo'): return if ( constants.SHALLOWREPO_REQUIREMENT @@ -129,7 +129,7 @@ def _callstream(self, command, **opts): supertype = super(remotefilepeer, self) - if not util.safehasattr(supertype, b'_sendrequest'): + if not util.safehasattr(supertype, '_sendrequest'): self._updatecallstreamopts(command, pycompat.byteskwargs(opts)) return super(remotefilepeer, self)._callstream(command, **opts)