diff -r c2e284cee333 -r eef9a2d67051 mercurial/pycompat.py --- a/mercurial/pycompat.py Sun Oct 06 13:17:19 2019 -0400 +++ b/mercurial/pycompat.py Sun Oct 06 13:28:56 2019 -0400 @@ -354,6 +354,7 @@ sysstr = identity strurl = identity bytesurl = identity + open = open # this can't be parsed on Python 3 exec(b'def raisewithtb(exc, tb):\n' b' raise exc, None, tb\n')