diff tests/test_util.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 adba152a5177
children ed2df771f578
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -712,6 +712,7 @@ class TestBase(unittest.TestCase):
             if source != dest:
                 copied = source
             return compathacks.makememfilectx(repo,
+                                              memctx=memctx,
                                               path=dest,
                                               data=newdata,
                                               islink=False,