diff hgext/sparse.py @ 43087:66f2cc210a29

py3: manually import pycompat.setattr where it is needed Continuing to eliminate the implicit import of symbols in the Python 3 source transformer so we can eliminate it. Differential Revision: https://phab.mercurial-scm.org/D7007
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Oct 2019 14:58:42 -0400
parents 687b865b95ad
children 9f70512ae2cf
line wrap: on
line diff
--- 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,