diff -r 0d612db7047c -r c59eb1560c44 mercurial/context.py --- a/mercurial/context.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/context.py Sun Oct 06 16:55:18 2019 -0400 @@ -23,7 +23,10 @@ wdirfilenodeids, wdirhex, ) -from .pycompat import open +from .pycompat import ( + getattr, + open, +) from . import ( copies, dagop,