( )⚙ D3863 histedit: factor out logic of processing state data in separate fn

This is an archive of the discontinued Mercurial Phabricator instance.

histedit: factor out logic of processing state data in separate fn
ClosedPublic

Authored by pulkit on Jun 30 2018, 11:09 AM.

Details

Summary

The new function will serve as the point from where we always get a dictionary
of data stored in the statefile and will be helpful in integrating
state.cmdstate.read() to write statefile in cbor.

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.