--- a/mercurial/dirstatemap.py Sun Jul 04 01:57:28 2021 +0200
+++ b/mercurial/dirstatemap.py Sun Jul 04 01:58:03 2021 +0200
@@ -172,6 +172,7 @@
mtime = AMBIGUOUS_TIME
elif from_p2:
assert not possibly_dirty
+ state = b'n'
size = FROM_P2
mtime = AMBIGUOUS_TIME
elif possibly_dirty: