tests/test-commit.t
changeset 39900 1a184b727aff
parent 39723 5abc47d4ca6b
child 41793 251332dbf33d
--- a/tests/test-commit.t	Wed Sep 26 22:17:34 2018 -0700
+++ b/tests/test-commit.t	Wed Sep 26 10:38:37 2018 -0700
@@ -650,7 +650,7 @@
   > def filectxfn(repo, memctx, path):
   >     return context.memfilectx(repo, memctx, path,
   >         b'[hooks]\nupdate = echo owned')
-  > c = context.memctx(r, [r[b'tip'].node(), node.nullid],
+  > c = context.memctx(r, [r.changelog.tip(), node.nullid],
   >                    b'evil', [notrc], filectxfn, 0)
   > r.commitctx(c)
   > EOF