mercurial/context.py
changeset 36009 55e8efa2451a
parent 35890 44bc37d20271
child 36411 38f480502043
--- a/mercurial/context.py	Wed Feb 07 23:22:53 2018 +0900
+++ b/mercurial/context.py	Tue Feb 06 22:36:38 2018 +0900
@@ -46,6 +46,7 @@
     scmutil,
     sparse,
     subrepo,
+    subrepoutil,
     util,
 )
 
@@ -173,7 +174,7 @@
 
     @propertycache
     def substate(self):
-        return subrepo.state(self, self._repo.ui)
+        return subrepoutil.state(self, self._repo.ui)
 
     def subrev(self, subpath):
         return self.substate[subpath][1]