D7835: nodemap: write nodemap data on disk

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Jan 23 13:54:48 EST 2020


martinvonz added inline comments.

INLINE COMMENTS

> nodemap.py:50-51
> +    # store vfs
> +    with revlog.opener(revlog.nodemap_file, 'w') as f:
> +        f.write(data)
> +    # EXP-TODO: if the transaction abort, we should remove the new data and

Actually, does `revlog.opener.write(revlog.nodemap_file, data)` work?

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7835/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7835

To: marmoute, indygreg, #hg-reviewers
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list