mercurial/context.py
changeset 40733 8a0136f69027
parent 40732 aee94f0a36cd
child 40734 9fa0d6dd1617
equal deleted inserted replaced
40732:aee94f0a36cd 40733:8a0136f69027
   758             # But if manifest uses a buggy file revision (not children of the
   758             # But if manifest uses a buggy file revision (not children of the
   759             # one it replaces) we could. Such a buggy situation will likely
   759             # one it replaces) we could. Such a buggy situation will likely
   760             # result is crash somewhere else at to some point.
   760             # result is crash somewhere else at to some point.
   761         return lkr
   761         return lkr
   762 
   762 
       
   763     def isintroducedafter(self, changelogrev):
       
   764         """True if a filectx has been introduced after a given floor revision
       
   765         """
       
   766         return (self.linkrev() >= changelogrev
       
   767                 or self.introrev() >= changelogrev)
       
   768 
   763     def introrev(self):
   769     def introrev(self):
   764         """return the rev of the changeset which introduced this file revision
   770         """return the rev of the changeset which introduced this file revision
   765 
   771 
   766         This method is different from linkrev because it take into account the
   772         This method is different from linkrev because it take into account the
   767         changeset the filectx was created from. It ensures the returned
   773         changeset the filectx was created from. It ensures the returned