Mercurial > hgsubversion
changeset 1220:02f886e59ae6 stable
replay: call makememfilectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 02 Jun 2014 19:09:44 -0500 |
parents | 656718fdd3be |
children | f87502fd4d65 |
files | hgsubversion/replay.py |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/replay.py +++ b/hgsubversion/replay.py @@ -164,10 +164,12 @@ def _convert_rev(ui, meta, svn, r, tbdel '%s\n' % current_file) else: data = parentctx.filectx(path).data() - return context.memfilectx(path=path, - data=data, - islink=islink, isexec=isexec, - copied=copied) + return compathacks.makememfilectx(repo, + path=path, + data=data, + islink=islink, + isexec=isexec, + copied=copied) meta.mapbranch(extra) current_ctx = context.memctx(meta.repo,