D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-11-08 Thread yuja (Yuya Nishihara)
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():

Re: D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-11-08 Thread Yuya Nishihara
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

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-11-05 Thread pulkit (Pulkit Goyal)
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

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-11-05 Thread durin42 (Augie Fackler)
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

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-10-19 Thread pulkit (Pulkit Goyal)
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

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-10-18 Thread pulkit (Pulkit Goyal)
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

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-10-17 Thread pulkit (Pulkit Goyal)
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