Show More
@@ -887,6 +887,11 b' class basefilectx(object):' | |||||
887 | getlog = util.lrucachefunc(lambda x: self._repo.file(x)) |
|
887 | getlog = util.lrucachefunc(lambda x: self._repo.file(x)) | |
888 |
|
888 | |||
889 | def parents(f): |
|
889 | def parents(f): | |
|
890 | # Cut _descendantrev here to mitigate the penalty of lazy linkrev | |||
|
891 | # adjustment. Otherwise, p._adjustlinkrev() would walk changelog | |||
|
892 | # from the topmost introrev (= srcrev) down to p.linkrev() if it | |||
|
893 | # isn't an ancestor of the srcrev. | |||
|
894 | f._changeid | |||
890 | pl = f.parents() |
|
895 | pl = f.parents() | |
891 |
|
896 | |||
892 | # Don't return renamed parents if we aren't following. |
|
897 | # Don't return renamed parents if we aren't following. |
General Comments 0
You need to be logged in to leave comments.
Login now