equal
deleted
inserted
replaced
38 """ |
38 """ |
39 assert start >= stop |
39 assert start >= stop |
40 filerev = len(repo.file(path)) - 1 |
40 filerev = len(repo.file(path)) - 1 |
41 while filerev >= 0: |
41 while filerev >= 0: |
42 fctx = repo.filectx(path, fileid=filerev) |
42 fctx = repo.filectx(path, fileid=filerev) |
43 parents = [f.filerev() for f in fctx.parents() if f.path() == path] |
43 parents = [f.linkrev() for f in fctx.parents() if f.path() == path] |
44 parents.sort() |
44 parents.sort() |
45 if fctx.rev() <= start: |
45 if fctx.rev() <= start: |
46 yield (fctx, parents) |
46 yield (fctx, parents) |
47 if fctx.rev() <= stop: |
47 if fctx.rev() <= stop: |
48 break |
48 break |