equal
deleted
inserted
replaced
599 |
599 |
600 def filectxfn(repo, memctx, path): |
600 def filectxfn(repo, memctx, path): |
601 if path not in ctx: |
601 if path not in ctx: |
602 return None |
602 return None |
603 fctx = ctx[path] |
603 fctx = ctx[path] |
604 copied = fctx.renamed() |
604 copied = fctx.copysource() |
605 if copied: |
|
606 copied = copied[0] |
|
607 return context.memfilectx( |
605 return context.memfilectx( |
608 repo, |
606 repo, |
609 memctx, |
607 memctx, |
610 path=fctx.path(), |
608 path=fctx.path(), |
611 data=filedata.get(path, fctx.data()), |
609 data=filedata.get(path, fctx.data()), |