Show More
@@ -764,7 +764,7 b' class basefilectx(object):' | |||||
764 | """True if a filectx has been introduced after a given floor revision |
|
764 | """True if a filectx has been introduced after a given floor revision | |
765 | """ |
|
765 | """ | |
766 | return (self.linkrev() >= changelogrev |
|
766 | return (self.linkrev() >= changelogrev | |
767 | or self.introrev() >= changelogrev) |
|
767 | or self._introrev() >= changelogrev) | |
768 |
|
768 | |||
769 | def introrev(self): |
|
769 | def introrev(self): | |
770 | """return the rev of the changeset which introduced this file revision |
|
770 | """return the rev of the changeset which introduced this file revision | |
@@ -775,6 +775,9 b' class basefilectx(object):' | |||||
775 | 'linkrev-shadowing' when a file revision is used by multiple |
|
775 | 'linkrev-shadowing' when a file revision is used by multiple | |
776 | changesets. |
|
776 | changesets. | |
777 | """ |
|
777 | """ | |
|
778 | return self._introrev() | |||
|
779 | ||||
|
780 | def _introrev(self): | |||
778 | toprev = None |
|
781 | toprev = None | |
779 | attrs = vars(self) |
|
782 | attrs = vars(self) | |
780 | if r'_changeid' in attrs: |
|
783 | if r'_changeid' in attrs: |
General Comments 0
You need to be logged in to leave comments.
Login now