yuja added a comment.
Can you add the following tests?
- encoded filename differs from the original name (e.g. uppercase letter)
- fncache disabled, but encodedstore is used
> def datafiles(self, matcher=None):
> for a, b, size in super(encodedstore, self).datafiles():
Can you add the following tests?
- encoded filename differs from the original name (e.g. uppercase letter)
- fncache disabled, but encodedstore is used
> def datafiles(self, matcher=None):
> for a, b, size in super(encodedstore, self).datafiles():
> +if not
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9aeb9e2d28a7: store: introduce _matchtrackedpath() and use
it to filter store files (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
durin42 added inline comments.
INLINE COMMENTS
> store.py:39
> +elif path.startswith('meta/'):
> +return matcher.visitdir(path[len('meta/'):-len('/00manifest.i')] or
> '.')
> +
Please follow up with a patch that raises ProgrammingError at the end of this
function - right now you
pulkit updated this revision to Diff 12259.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5139?vs=12233=12259
REVISION DETAIL
https://phab.mercurial-scm.org/D5139
AFFECTED FILES
mercurial/store.py
mercurial/streamclone.py
pulkit updated this revision to Diff 12233.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5139?vs=12212=12233
REVISION DETAIL
https://phab.mercurial-scm.org/D5139
AFFECTED FILES
mercurial/store.py
mercurial/streamclone.py
pulkit created this revision.
Herald added a reviewer: durin42.
Herald added subscribers: mercurial-devel, mjpieters.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This patch introduces a function to filter store files on the basis of the
path
which they are tracking.
The