tests/test-context.py
changeset 41419 0bd56c291359
parent 38658 a75896bf5ccb
child 42056 4950ae4d034f
--- a/tests/test-context.py	Mon Jan 21 15:29:14 2019 +0000
+++ b/tests/test-context.py	Fri Jan 25 23:36:23 2019 -0800
@@ -63,7 +63,7 @@
 # test performing a status
 
 def getfilectx(repo, memctx, f):
-    fctx = memctx.parents()[0][f]
+    fctx = memctx.p1()[f]
     data, flags = fctx.data(), fctx.flags()
     if f == b'foo':
         data += b'bar\n'