Show More
@@ -774,13 +774,13 b' class basefilectx(object):' | |||||
774 | # hack to reuse ancestor computation when searching for renames |
|
774 | # hack to reuse ancestor computation when searching for renames | |
775 | memberanc = getattr(self, '_ancestrycontext', None) |
|
775 | memberanc = getattr(self, '_ancestrycontext', None) | |
776 | iteranc = None |
|
776 | iteranc = None | |
|
777 | revs = [srcrev] | |||
777 | if memberanc is None: |
|
778 | if memberanc is None: | |
778 |
memberanc = iteranc = cl.ancestors( |
|
779 | memberanc = iteranc = cl.ancestors(revs, lkr, inclusive=inclusive) | |
779 | inclusive=inclusive) |
|
|||
780 | # check if this linkrev is an ancestor of srcrev |
|
780 | # check if this linkrev is an ancestor of srcrev | |
781 | if lkr not in memberanc: |
|
781 | if lkr not in memberanc: | |
782 | if iteranc is None: |
|
782 | if iteranc is None: | |
783 |
iteranc = cl.ancestors( |
|
783 | iteranc = cl.ancestors(revs, lkr, inclusive=inclusive) | |
784 | for a in iteranc: |
|
784 | for a in iteranc: | |
785 | ac = cl.read(a) # get changeset data (we avoid object creation) |
|
785 | ac = cl.read(a) # get changeset data (we avoid object creation) | |
786 | if path in ac[3]: # checking the 'files' field. |
|
786 | if path in ac[3]: # checking the 'files' field. |
General Comments 0
You need to be logged in to leave comments.
Login now