revset: restore parsing rule for expression without "modifier:" syntax 69c36fe1 parent e0a3ceb3

The new parse_program() will allow us to parse top-level string patterns with no parentheses. This patch also replaces a few callers of the old parse_program(). When we drop support for the all: modifier syntax, parse_program_with_modifier() will be replaced entirely.

authored by Yuya Nishihara

1
{
2
"enforce_root_files": true,
3
"root_files": [".watchmanconfig"],
4
"ignore_dirs": ["target"],
5
"ignore_vcs": [".git", ".sl", ".jj", ".hg"]
6
}
7