Show More
@@ -1961,6 +1961,9 b' def walkchangerevs(repo, match, opts, pr' | |||||
1961 | else: |
|
1961 | else: | |
1962 | self.revs.discard(value) |
|
1962 | self.revs.discard(value) | |
1963 | ctx = change(value) |
|
1963 | ctx = change(value) | |
|
1964 | if allfiles: | |||
|
1965 | matches = list(ctx.manifest().walk(match)) | |||
|
1966 | else: | |||
1964 | matches = [f for f in ctx.files() if match(f)] |
|
1967 | matches = [f for f in ctx.files() if match(f)] | |
1965 | if matches: |
|
1968 | if matches: | |
1966 | fncache[value] = matches |
|
1969 | fncache[value] = matches |
@@ -517,5 +517,8 b' test -rMULTIREV with --all-files' | |||||
517 | $ hg grep -r "0:2" "unmod" --all-files um |
|
517 | $ hg grep -r "0:2" "unmod" --all-files um | |
518 | um:0:unmod |
|
518 | um:0:unmod | |
519 | um:1:unmod |
|
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 | $ cd .. |
|
523 | $ cd .. | |
521 |
|
524 |
General Comments 0
You need to be logged in to leave comments.
Login now