Mercurial > hgsubversion
diff tests/test_utility_commands.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 | 0ebcc5bbf692 |
children | cff81f35b31e |
line wrap: on
line diff
--- a/tests/test_utility_commands.py +++ b/tests/test_utility_commands.py @@ -162,6 +162,7 @@ class UtilityTests(test_util.TestBase): parents = (self.repo['the_branch'].node(), revlog.nullid,) def filectxfn(repo, memctx, path): return compathacks.makememfilectx(repo, + memctx=memctx, path=path, data='added', islink=False, @@ -207,6 +208,7 @@ class UtilityTests(test_util.TestBase): parents = (self.repo['the_branch'].node(), revlog.nullid,) def filectxfn(repo, memctx, path): return compathacks.makememfilectx(repo, + memctx=memctx, path=path, data='added', islink=False, @@ -239,6 +241,7 @@ class UtilityTests(test_util.TestBase): parents = (self.repo[0].node(), revlog.nullid,) def filectxfn(repo, memctx, path): return compathacks.makememfilectx(repo, + memctx=memctx, path=path, data='added', islink=False,