Page MenuHomePhabricator

changelog: fix handling of empty copy entries in changeset

Authored by martinvonz on Jul 1 2019, 7:28 PM.



Before this patch, when an empty value was found in the changeset, we
would get a ValueError, which would result in None being returned for
addedfiles/removedfiles and p1copies/p2copies. That made 278dcb24e535
(copies: write empty entries in changeset when also writing to
filelog, 2019-04-23) ineffective at helping the read path not look for
copies in the filelogs.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Jul 1 2019, 7:28 PM
pulkit accepted this revision.Jul 2 2019, 6:28 PM
This revision is now accepted and ready to land.Jul 2 2019, 6:28 PM