diff tests/fakedirstatewritetime.py @ 32813:6d73b7ff8f92

workingctx: also pass status tuple into poststatusfixup fsmonitor is going to need this to compute its set of notable files to persist.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 12 Jun 2017 13:56:43 -0700
parents add613cddcb6
children 28b7034a916a
line wrap: on
line diff
--- a/tests/fakedirstatewritetime.py	Mon Jun 12 13:54:59 2017 -0700
+++ b/tests/fakedirstatewritetime.py	Mon Jun 12 13:56:43 2017 -0700
@@ -55,9 +55,9 @@
         parsers.pack_dirstate = orig_pack_dirstate
         dirstate._getfsnow = orig_dirstate_getfsnow
 
-def _poststatusfixup(orig, workingctx, fixup):
+def _poststatusfixup(orig, workingctx, status, fixup):
     ui = workingctx.repo().ui
-    return fakewrite(ui, lambda : orig(workingctx, fixup))
+    return fakewrite(ui, lambda : orig(workingctx, status, fixup))
 
 def markcommitted(orig, committablectx, node):
     ui = committablectx.repo().ui