HomePhabricator

walkchangerevs: obey allfiles parameter when taking the slow path

Authored by JordiGH.

Description

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.

Details

Committed
JordiGHFeb 12 2019, 5:10 PM
Parents
rHG1ab6f5df263e: test: stabilize test-wireproto-exchangev2.t flaky output
Branches
Unknown
Tags
Unknown