This is an archive of the discontinued Mercurial Phabricator instance.

revbranchcache: use context manager in _writerevs() to write to file
ClosedPublic

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

Details

Summary

The other _writenames() is a bit complicated to use context manager.

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

pulkit created this revision.Apr 19 2019, 5:48 PM
This revision was automatically updated to reflect the committed changes.