--- a/mercurial/ui.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/ui.py Sun Oct 06 16:55:18 2019 -0400 @@ -23,6 +23,7 @@ from .i18n import _ from .node import hex from .pycompat import ( + getattr, open, setattr, )