--- a/mercurial/cmdutil.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/cmdutil.py Sun Oct 06 16:55:18 2019 -0400 @@ -20,6 +20,7 @@ short, ) from .pycompat import ( + getattr, open, setattr, )