mercurial/dirstatemap.py
changeset 47929 442711f2c447
parent 47928 4f0ebf83e4dc
child 47930 625b6ddb828c
--- 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'