##// END OF EJS Templates
memfilefromctx: migrate to new method for getting copy info...
Martin von Zweigbergk -
r41942:322ce0bc default
parent child Browse files
Show More
@@ -2234,9 +2234,7 b' def memfilefromctx(ctx):'
2234 2234 """
2235 2235 def getfilectx(repo, memctx, path):
2236 2236 fctx = ctx[path]
2237 copied = fctx.renamed()
2238 if copied:
2239 copied = copied[0]
2237 copied = fctx.copysource()
2240 2238 return memfilectx(repo, memctx, path, fctx.data(),
2241 2239 islink=fctx.islink(), isexec=fctx.isexec(),
2242 2240 copied=copied)
General Comments 0
You need to be logged in to leave comments. Login now