D4849: store: introduce a function to get tracked path from a fncache entry

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Oct 13 03:54:58 EDT 2018


indygreg requested changes to this revision.
indygreg added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> store.py:36-37
> +        return path[5:-2]
> +    elif path.startswith('dh/'):
> +        return path[3:-2]
> +    elif path.startswith('meta/'):

The fncache file doesn't track filenames beginning with `dh/`.

The fncache tracks the real full paths and then store filename encoding happens later.

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers, indygreg
Cc: indygreg, yuja, mercurial-devel


More information about the Mercurial-devel mailing list