mercurial/context.py
changeset 36009 55e8efa2451a
parent 35890 44bc37d20271
child 36411 38f480502043
equal deleted inserted replaced
36008:006ff7268c5c 36009:55e8efa2451a
    44     repoview,
    44     repoview,
    45     revlog,
    45     revlog,
    46     scmutil,
    46     scmutil,
    47     sparse,
    47     sparse,
    48     subrepo,
    48     subrepo,
       
    49     subrepoutil,
    49     util,
    50     util,
    50 )
    51 )
    51 
    52 
    52 propertycache = util.propertycache
    53 propertycache = util.propertycache
    53 
    54 
   171         return scmutil.status(modified, added, removed, deleted, unknown,
   172         return scmutil.status(modified, added, removed, deleted, unknown,
   172                               ignored, clean)
   173                               ignored, clean)
   173 
   174 
   174     @propertycache
   175     @propertycache
   175     def substate(self):
   176     def substate(self):
   176         return subrepo.state(self, self._repo.ui)
   177         return subrepoutil.state(self, self._repo.ui)
   177 
   178 
   178     def subrev(self, subpath):
   179     def subrev(self, subpath):
   179         return self.substate[subpath][1]
   180         return self.substate[subpath][1]
   180 
   181 
   181     def rev(self):
   182     def rev(self):