( )⚙ D11934 changelog-v2: use helper constant in the code to pack/unpack entries

This is an archive of the discontinued Mercurial Phabricator instance.

changelog-v2: use helper constant in the code to pack/unpack entries
ClosedPublic

Authored by marmoute on Dec 16 2021, 12:43 PM.

Details

Summary

This makes the code simpler to read and modify. This is probably less
efficient, but we are talking about the Python implementation here, so
performance is concerne secondary to readability.

Diff Detail

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