--- a/mercurial/lock.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/lock.py Sun Oct 06 16:55:18 2019 -0400 @@ -16,6 +16,7 @@ import warnings from .i18n import _ +from .pycompat import getattr from . import ( encoding,