[Commented On] D11323: dirstatemap: use the default code to handle normal entry
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Thu Aug 26 13:01:09 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 30049.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11323?vs=29972&id=30049
BRANCH
default
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
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210826/53cd628e/attachment-0002.html>
More information about the Mercurial-patches
mailing list