( )⚙ D11385 dirstate-item: factor some code in the C implementation

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-item: factor some code in the C implementation
ClosedPublic

Authored by marmoute on Sep 1 2021, 7:36 PM.

Details

Summary

We have both dirstate_item_from_v1_meth, a class method, and
dirstate_item_from_v1_data, a function taking low level C argument.

Lets implement the former with the later.

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.

Event Timeline

marmoute created this revision.Sep 1 2021, 7:36 PM
Alphare accepted this revision.Sep 8 2021, 9:26 AM
This revision is now accepted and ready to land.Sep 8 2021, 9:26 AM
This revision was automatically updated to reflect the committed changes.