Mercurial > hg
comparison tests/test-fileset.t @ 38803:4dc498d61d86
fileset: flatten arguments list
Just prepares for flattening 'or' nodes. This change would have no impact on
performance.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Jul 2018 15:14:38 +0900 |
parents | f0a574dbfae9 |
children | d82c4d42b615 |
comparison
equal
deleted
inserted
replaced
38802:f0a574dbfae9 | 38803:4dc498d61d86 |
---|---|
108 $ fileset -v -- '-()' | 108 $ fileset -v -- '-()' |
109 (negate | 109 (negate |
110 (group | 110 (group |
111 None)) | 111 None)) |
112 hg: parse error: can't use negate operator in this context | 112 hg: parse error: can't use negate operator in this context |
113 [255] | |
114 $ fileset -p parsed 'a, b, c' | |
115 * parsed: | |
116 (list | |
117 (symbol 'a') | |
118 (symbol 'b') | |
119 (symbol 'c')) | |
120 hg: parse error: can't use a list in this context | |
121 (see hg help "filesets.x or y") | |
113 [255] | 122 [255] |
114 | 123 |
115 $ fileset '"path":.' | 124 $ fileset '"path":.' |
116 hg: parse error: not a symbol | 125 hg: parse error: not a symbol |
117 [255] | 126 [255] |