--- a/mercurial/ui.py Sun Oct 06 14:51:45 2019 -0400
+++ b/mercurial/ui.py Sun Oct 06 14:58:42 2019 -0400
@@ -22,7 +22,10 @@
from .i18n import _
from .node import hex
-from .pycompat import open
+from .pycompat import (
+ open,
+ setattr,
+)
from . import (
color,