diff -r bbcbb82e3589 -r 66f2cc210a29 hgext/sparse.py --- a/hgext/sparse.py Sun Oct 06 14:51:45 2019 -0400 +++ b/hgext/sparse.py Sun Oct 06 14:58:42 2019 -0400 @@ -74,6 +74,7 @@ from __future__ import absolute_import from mercurial.i18n import _ +from mercurial.pycompat import setattr from mercurial import ( commands, dirstate,