dirstatemap: use the default code to handle normal entry
This case is quite simple.
Differential Revision: https://phab.mercurial-scm.org/D11323
--- a/mercurial/dirstatemap.py Fri Jul 16 17:03:39 2021 +0200
+++ b/mercurial/dirstatemap.py Fri Jul 16 17:08:41 2021 +0200
@@ -306,10 +306,6 @@
msg = b'failed to pass parentfiledata for a normal file: %s'
msg %= filename
raise error.ProgrammingError(msg)
- mode, size, mtime = parentfiledata
- self.addfile(filename, mode=mode, size=size, mtime=mtime)
- self.nonnormalset.discard(filename)
- return
else:
assert False, 'unreachable'