[Updated] D11323: dirstatemap: use the default code to handle normal entry

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Fri Aug 27 12:38:39 UTC 2021


Closed by commit rHG442711f2c447: dirstatemap: use the default code to handle normal entry (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11323?vs=30049&id=30091

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11323/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11323

AFFECTED FILES
  mercurial/dirstatemap.py

CHANGE DETAILS

diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py
+++ b/mercurial/dirstatemap.py
@@ -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'
 



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210827/c89e9e99/attachment-0002.html>


More information about the Mercurial-patches mailing list