D7839: nodemap: deleted older raw data file when creating a new ones

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Jan 23 16:32:44 EST 2020


martinvonz added inline comments.

INLINE COMMENTS

> nodemap.py:151
> +    prefix = revlog.nodemap_file[:-2]
> +    pattern = re.compile(b"(^|/)%s-[0-9a-f]+.nd$" % prefix)
> +    new_file_path = _rawdata_filepath(revlog, uid)

meant to escape the "." in the regex?

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list