( )⚙ D11463 debugsate: Change debug_iter() to yield tuples instead of DirstateItem

This is an archive of the discontinued Mercurial Phabricator instance.

debugsate: Change debug_iter() to yield tuples instead of DirstateItem
ClosedPublic

Authored by SimonSapin on Sep 20 2021, 6:17 PM.

Details

Summary

This removes the need for DirstateItem to support the state == ' '
special case which represents dirstate tree nodes without an item.

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.