diff -r 66f2cc210a29 -r 0d612db7047c mercurial/pycompat.py --- a/mercurial/pycompat.py Sun Oct 06 14:58:42 2019 -0400 +++ b/mercurial/pycompat.py Sun Oct 06 16:39:13 2019 -0400 @@ -355,6 +355,7 @@ strurl = identity bytesurl = identity open = open + hasattr = hasattr setattr = setattr # this can't be parsed on Python 3