diff -r 1f339b503a40 -r 127cc1f72e70 hgext/lfs/blobstore.py --- a/hgext/lfs/blobstore.py Sun Oct 06 16:58:55 2019 -0400 +++ b/hgext/lfs/blobstore.py Sun Oct 06 17:27:51 2019 -0400 @@ -394,7 +394,7 @@ def encodestr(x): if isinstance(x, pycompat.unicode): - return x.encode(u'utf-8') + return x.encode('utf-8') return x return pycompat.rapply(encodestr, response)