--- 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