--- a/mercurial/encoding.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/encoding.py Sun Oct 06 16:55:18 2019 -0400 @@ -11,6 +11,7 @@ import os import unicodedata +from .pycompat import getattr from . import ( error, policy,