HomePhabricator

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

Authored by pulkit.

Description

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

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

Differential Revision: https://phab.mercurial-scm.org/D6292