HomePhabricator

revlog: simplify the try nesting in the `_writing` context

Authored by marmoute.

Description

revlog: simplify the try nesting in the _writing context

Lets use a single try, with conditional cleanup. This make is easier to add a
file handle dedicated to sidedata.

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