Mercurial > hgsubversion
diff hgsubversion/svnmeta.py @ 1549:8410a978c650
compathacks: be compatible with upstream 8a0cac20a1ad memfilectx change
See hg change 8a0cac20a1ad. Since the interface has changed
more than one time, switch to explicit keywords arguments to avoid
surprises.
Since hgsubversion targets hg >= 3.2.4, drop support for hg 3.0 and 3.1
here.
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 19 Dec 2017 14:29:55 -0800 |
parents | 4dad506e51cc |
children | cff81f35b31e |
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -800,6 +800,7 @@ class SVNMeta(object): def hgtagsfn(repo, memctx, path): assert path == '.hgtags' return compathacks.makememfilectx(repo, + memctx=memctx, path=path, data=tagdata, islink=False, @@ -871,6 +872,7 @@ class SVNMeta(object): # add new changeset containing updated .hgtags def fctxfun(repo, memctx, path): return compathacks.makememfilectx(repo, + memctx=memctx, path='.hgtags', data=src, islink=False,