##// END OF EJS Templates
walkchangerevs: obey allfiles parameter when taking the slow path...
Jordi Gutiérrez Hermoso -
r41832:5d383d96 default
parent child Browse files
Show More
@@ -1961,6 +1961,9 b' def walkchangerevs(repo, match, opts, pr'
1961 1961 else:
1962 1962 self.revs.discard(value)
1963 1963 ctx = change(value)
1964 if allfiles:
1965 matches = list(ctx.manifest().walk(match))
1966 else:
1964 1967 matches = [f for f in ctx.files() if match(f)]
1965 1968 if matches:
1966 1969 fncache[value] = matches
@@ -517,5 +517,8 b' test -rMULTIREV with --all-files'
517 517 $ hg grep -r "0:2" "unmod" --all-files um
518 518 um:0:unmod
519 519 um:1:unmod
520 $ hg grep -r "0:2" "unmod" --all-files "glob:**/um" # Check that patterns also work
521 um:0:unmod
522 um:1:unmod
520 523 $ cd ..
521 524
General Comments 0
You need to be logged in to leave comments. Login now