Mercurial > hgsubversion
diff hgsubversion/replay.py @ 1220:02f886e59ae6 stable
replay: call makememfilectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 02 Jun 2014 19:09:44 -0500 |
parents | 6e1dbf6cbc92 |
children | 9490a3052935 |
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,