diff -r aee94f0a36cd -r 8a0136f69027 mercurial/context.py --- a/mercurial/context.py Wed Oct 10 00:50:34 2018 +0200 +++ b/mercurial/context.py Wed Oct 10 00:50:35 2018 +0200 @@ -760,6 +760,12 @@ # result is crash somewhere else at to some point. return lkr + def isintroducedafter(self, changelogrev): + """True if a filectx has been introduced after a given floor revision + """ + return (self.linkrev() >= changelogrev + or self.introrev() >= changelogrev) + def introrev(self): """return the rev of the changeset which introduced this file revision