( )⚙ D6291 revbranchcache: factor logic to write names and revs in separate functions

This is an archive of the discontinued Mercurial Phabricator instance.

revbranchcache: factor logic to write names and revs in separate functions
ClosedPublic

Authored by pulkit on Apr 19 2019, 5:48 PM.

Details

Summary

Before this patch, the write function was so populated with upto 4 level of
indentation, it was hard to understand what's going on.

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.