Mercurial > hg
comparison mercurial/exchangev2.py @ 41683:5d383d9636d0
walkchangerevs: obey allfiles parameter when taking the slow path
When walkchangerevs sees that there's a pattern, it hits the slow
path. The slow path in turn reverts to the old dumb grep behaviour of
only looking at files changed at each revision. Therefore, a command
such as
hg grep -l --all-files '.*' 'glob:**'
would show you all the nonempty files touched by the current revision.
This modifies that behaviour to look at the manifest at each revision
instead of the changed files in case that --all-files was requested.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 12 Feb 2019 17:10:31 -0500 |
parents | afa884015e66 |
children | 268662aac075 |
comparison
equal
deleted
inserted
replaced
41682:1ab6f5df263e | 41683:5d383d9636d0 |
---|