equal
deleted
inserted
replaced
81 return None |
81 return None |
82 fctx = contentctx[path] |
82 fctx = contentctx[path] |
83 mctx = context.memfilectx(repo, memctx, fctx.path(), fctx.data(), |
83 mctx = context.memfilectx(repo, memctx, fctx.path(), fctx.data(), |
84 fctx.islink(), |
84 fctx.islink(), |
85 fctx.isexec(), |
85 fctx.isexec(), |
86 copied=copied.get(path)) |
86 copysource=copied.get(path)) |
87 return mctx |
87 return mctx |
88 |
88 |
89 if not files: |
89 if not files: |
90 repo.ui.status(_("note: keeping empty commit\n")) |
90 repo.ui.status(_("note: keeping empty commit\n")) |
91 |
91 |