74 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
74 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
75 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
75 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
76 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
76 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
77 f mammals/skunk skunk |
77 f mammals/skunk skunk |
78 $ hg debugwalk -X ../beans |
78 $ hg debugwalk -X ../beans |
79 matcher: <differencematcher m1=<matcher patterns=None, includes=None>, m2=<matcher patterns=None, includes='(?:beans(?:/|$))'>> |
79 matcher: <differencematcher m1=<patternmatcher patterns=None, includes=None>, m2=<includematcher patterns=None, includes='(?:beans(?:/|$))'>> |
80 f fennel ../fennel |
80 f fennel ../fennel |
81 f fenugreek ../fenugreek |
81 f fenugreek ../fenugreek |
82 f fiddlehead ../fiddlehead |
82 f fiddlehead ../fiddlehead |
83 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
83 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
84 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
84 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
85 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
85 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
86 f mammals/skunk skunk |
86 f mammals/skunk skunk |
87 $ hg debugwalk -I '*k' |
87 $ hg debugwalk -I '*k' |
88 matcher: <matcher patterns=None, includes='(?:mammals\\/[^/]*k(?:/|$))'> |
88 matcher: <includematcher patterns=None, includes='(?:mammals\\/[^/]*k(?:/|$))'> |
89 f mammals/skunk skunk |
89 f mammals/skunk skunk |
90 $ hg debugwalk -I 'glob:*k' |
90 $ hg debugwalk -I 'glob:*k' |
91 matcher: <matcher patterns=None, includes='(?:mammals\\/[^/]*k(?:/|$))'> |
91 matcher: <includematcher patterns=None, includes='(?:mammals\\/[^/]*k(?:/|$))'> |
92 f mammals/skunk skunk |
92 f mammals/skunk skunk |
93 $ hg debugwalk -I 'relglob:*k' |
93 $ hg debugwalk -I 'relglob:*k' |
94 matcher: <matcher patterns=None, includes='(?:(?:|.*/)[^/]*k(?:/|$))'> |
94 matcher: <includematcher patterns=None, includes='(?:(?:|.*/)[^/]*k(?:/|$))'> |
95 f beans/black ../beans/black |
95 f beans/black ../beans/black |
96 f fenugreek ../fenugreek |
96 f fenugreek ../fenugreek |
97 f mammals/skunk skunk |
97 f mammals/skunk skunk |
98 $ hg debugwalk -I 'relglob:*k' . |
98 $ hg debugwalk -I 'relglob:*k' . |
99 matcher: <intersectionmatcher m1=<matcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:(?:|.*/)[^/]*k(?:/|$))'>> |
99 matcher: <intersectionmatcher m1=<patternmatcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:(?:|.*/)[^/]*k(?:/|$))'>> |
100 f mammals/skunk skunk |
100 f mammals/skunk skunk |
101 $ hg debugwalk -I 're:.*k$' |
101 $ hg debugwalk -I 're:.*k$' |
102 matcher: <matcher patterns=None, includes='(?:.*k$)'> |
102 matcher: <includematcher patterns=None, includes='(?:.*k$)'> |
103 f beans/black ../beans/black |
103 f beans/black ../beans/black |
104 f fenugreek ../fenugreek |
104 f fenugreek ../fenugreek |
105 f mammals/skunk skunk |
105 f mammals/skunk skunk |
106 $ hg debugwalk -I 'relre:.*k$' |
106 $ hg debugwalk -I 'relre:.*k$' |
107 matcher: <matcher patterns=None, includes='(?:.*.*k$)'> |
107 matcher: <includematcher patterns=None, includes='(?:.*.*k$)'> |
108 f beans/black ../beans/black |
108 f beans/black ../beans/black |
109 f fenugreek ../fenugreek |
109 f fenugreek ../fenugreek |
110 f mammals/skunk skunk |
110 f mammals/skunk skunk |
111 $ hg debugwalk -I 'path:beans' |
111 $ hg debugwalk -I 'path:beans' |
112 matcher: <matcher patterns=None, includes='(?:^beans(?:/|$))'> |
112 matcher: <includematcher patterns=None, includes='(?:^beans(?:/|$))'> |
113 f beans/black ../beans/black |
113 f beans/black ../beans/black |
114 f beans/borlotti ../beans/borlotti |
114 f beans/borlotti ../beans/borlotti |
115 f beans/kidney ../beans/kidney |
115 f beans/kidney ../beans/kidney |
116 f beans/navy ../beans/navy |
116 f beans/navy ../beans/navy |
117 f beans/pinto ../beans/pinto |
117 f beans/pinto ../beans/pinto |
118 f beans/turtle ../beans/turtle |
118 f beans/turtle ../beans/turtle |
119 $ hg debugwalk -I 'relpath:detour/../../beans' |
119 $ hg debugwalk -I 'relpath:detour/../../beans' |
120 matcher: <matcher patterns=None, includes='(?:beans(?:/|$))'> |
120 matcher: <includematcher patterns=None, includes='(?:beans(?:/|$))'> |
121 f beans/black ../beans/black |
121 f beans/black ../beans/black |
122 f beans/borlotti ../beans/borlotti |
122 f beans/borlotti ../beans/borlotti |
123 f beans/kidney ../beans/kidney |
123 f beans/kidney ../beans/kidney |
124 f beans/navy ../beans/navy |
124 f beans/navy ../beans/navy |
125 f beans/pinto ../beans/pinto |
125 f beans/pinto ../beans/pinto |
126 f beans/turtle ../beans/turtle |
126 f beans/turtle ../beans/turtle |
127 |
127 |
128 $ hg debugwalk 'rootfilesin:' |
128 $ hg debugwalk 'rootfilesin:' |
129 matcher: <matcher patterns='(?:^[^/]+$)', includes=None> |
129 matcher: <patternmatcher patterns='(?:^[^/]+$)', includes=None> |
130 f fennel ../fennel |
130 f fennel ../fennel |
131 f fenugreek ../fenugreek |
131 f fenugreek ../fenugreek |
132 f fiddlehead ../fiddlehead |
132 f fiddlehead ../fiddlehead |
133 $ hg debugwalk -I 'rootfilesin:' |
133 $ hg debugwalk -I 'rootfilesin:' |
134 matcher: <matcher patterns=None, includes='(?:^[^/]+$)'> |
134 matcher: <includematcher patterns=None, includes='(?:^[^/]+$)'> |
135 f fennel ../fennel |
135 f fennel ../fennel |
136 f fenugreek ../fenugreek |
136 f fenugreek ../fenugreek |
137 f fiddlehead ../fiddlehead |
137 f fiddlehead ../fiddlehead |
138 $ hg debugwalk 'rootfilesin:.' |
138 $ hg debugwalk 'rootfilesin:.' |
139 matcher: <matcher patterns='(?:^[^/]+$)', includes=None> |
139 matcher: <patternmatcher patterns='(?:^[^/]+$)', includes=None> |
140 f fennel ../fennel |
140 f fennel ../fennel |
141 f fenugreek ../fenugreek |
141 f fenugreek ../fenugreek |
142 f fiddlehead ../fiddlehead |
142 f fiddlehead ../fiddlehead |
143 $ hg debugwalk -I 'rootfilesin:.' |
143 $ hg debugwalk -I 'rootfilesin:.' |
144 matcher: <matcher patterns=None, includes='(?:^[^/]+$)'> |
144 matcher: <includematcher patterns=None, includes='(?:^[^/]+$)'> |
145 f fennel ../fennel |
145 f fennel ../fennel |
146 f fenugreek ../fenugreek |
146 f fenugreek ../fenugreek |
147 f fiddlehead ../fiddlehead |
147 f fiddlehead ../fiddlehead |
148 $ hg debugwalk -X 'rootfilesin:' |
148 $ hg debugwalk -X 'rootfilesin:' |
149 matcher: <differencematcher m1=<matcher patterns=None, includes=None>, m2=<matcher patterns=None, includes='(?:^[^/]+$)'>> |
149 matcher: <differencematcher m1=<patternmatcher patterns=None, includes=None>, m2=<includematcher patterns=None, includes='(?:^[^/]+$)'>> |
150 f beans/black ../beans/black |
150 f beans/black ../beans/black |
151 f beans/borlotti ../beans/borlotti |
151 f beans/borlotti ../beans/borlotti |
152 f beans/kidney ../beans/kidney |
152 f beans/kidney ../beans/kidney |
153 f beans/navy ../beans/navy |
153 f beans/navy ../beans/navy |
154 f beans/pinto ../beans/pinto |
154 f beans/pinto ../beans/pinto |
156 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
156 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
157 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
157 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
158 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
158 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
159 f mammals/skunk skunk |
159 f mammals/skunk skunk |
160 $ hg debugwalk 'rootfilesin:fennel' |
160 $ hg debugwalk 'rootfilesin:fennel' |
161 matcher: <matcher patterns='(?:^fennel/[^/]+$)', includes=None> |
161 matcher: <patternmatcher patterns='(?:^fennel/[^/]+$)', includes=None> |
162 $ hg debugwalk -I 'rootfilesin:fennel' |
162 $ hg debugwalk -I 'rootfilesin:fennel' |
163 matcher: <matcher patterns=None, includes='(?:^fennel/[^/]+$)'> |
163 matcher: <includematcher patterns=None, includes='(?:^fennel/[^/]+$)'> |
164 $ hg debugwalk 'rootfilesin:skunk' |
164 $ hg debugwalk 'rootfilesin:skunk' |
165 matcher: <matcher patterns='(?:^skunk/[^/]+$)', includes=None> |
165 matcher: <patternmatcher patterns='(?:^skunk/[^/]+$)', includes=None> |
166 $ hg debugwalk -I 'rootfilesin:skunk' |
166 $ hg debugwalk -I 'rootfilesin:skunk' |
167 matcher: <matcher patterns=None, includes='(?:^skunk/[^/]+$)'> |
167 matcher: <includematcher patterns=None, includes='(?:^skunk/[^/]+$)'> |
168 $ hg debugwalk 'rootfilesin:beans' |
168 $ hg debugwalk 'rootfilesin:beans' |
169 matcher: <matcher patterns='(?:^beans/[^/]+$)', includes=None> |
169 matcher: <patternmatcher patterns='(?:^beans/[^/]+$)', includes=None> |
170 f beans/black ../beans/black |
170 f beans/black ../beans/black |
171 f beans/borlotti ../beans/borlotti |
171 f beans/borlotti ../beans/borlotti |
172 f beans/kidney ../beans/kidney |
172 f beans/kidney ../beans/kidney |
173 f beans/navy ../beans/navy |
173 f beans/navy ../beans/navy |
174 f beans/pinto ../beans/pinto |
174 f beans/pinto ../beans/pinto |
175 f beans/turtle ../beans/turtle |
175 f beans/turtle ../beans/turtle |
176 $ hg debugwalk -I 'rootfilesin:beans' |
176 $ hg debugwalk -I 'rootfilesin:beans' |
177 matcher: <matcher patterns=None, includes='(?:^beans/[^/]+$)'> |
177 matcher: <includematcher patterns=None, includes='(?:^beans/[^/]+$)'> |
178 f beans/black ../beans/black |
178 f beans/black ../beans/black |
179 f beans/borlotti ../beans/borlotti |
179 f beans/borlotti ../beans/borlotti |
180 f beans/kidney ../beans/kidney |
180 f beans/kidney ../beans/kidney |
181 f beans/navy ../beans/navy |
181 f beans/navy ../beans/navy |
182 f beans/pinto ../beans/pinto |
182 f beans/pinto ../beans/pinto |
183 f beans/turtle ../beans/turtle |
183 f beans/turtle ../beans/turtle |
184 $ hg debugwalk 'rootfilesin:mammals' |
184 $ hg debugwalk 'rootfilesin:mammals' |
185 matcher: <matcher patterns='(?:^mammals/[^/]+$)', includes=None> |
185 matcher: <patternmatcher patterns='(?:^mammals/[^/]+$)', includes=None> |
186 f mammals/skunk skunk |
186 f mammals/skunk skunk |
187 $ hg debugwalk -I 'rootfilesin:mammals' |
187 $ hg debugwalk -I 'rootfilesin:mammals' |
188 matcher: <matcher patterns=None, includes='(?:^mammals/[^/]+$)'> |
188 matcher: <includematcher patterns=None, includes='(?:^mammals/[^/]+$)'> |
189 f mammals/skunk skunk |
189 f mammals/skunk skunk |
190 $ hg debugwalk 'rootfilesin:mammals/' |
190 $ hg debugwalk 'rootfilesin:mammals/' |
191 matcher: <matcher patterns='(?:^mammals/[^/]+$)', includes=None> |
191 matcher: <patternmatcher patterns='(?:^mammals/[^/]+$)', includes=None> |
192 f mammals/skunk skunk |
192 f mammals/skunk skunk |
193 $ hg debugwalk -I 'rootfilesin:mammals/' |
193 $ hg debugwalk -I 'rootfilesin:mammals/' |
194 matcher: <matcher patterns=None, includes='(?:^mammals/[^/]+$)'> |
194 matcher: <includematcher patterns=None, includes='(?:^mammals/[^/]+$)'> |
195 f mammals/skunk skunk |
195 f mammals/skunk skunk |
196 $ hg debugwalk -X 'rootfilesin:mammals' |
196 $ hg debugwalk -X 'rootfilesin:mammals' |
197 matcher: <differencematcher m1=<matcher patterns=None, includes=None>, m2=<matcher patterns=None, includes='(?:^mammals/[^/]+$)'>> |
197 matcher: <differencematcher m1=<patternmatcher patterns=None, includes=None>, m2=<includematcher patterns=None, includes='(?:^mammals/[^/]+$)'>> |
198 f beans/black ../beans/black |
198 f beans/black ../beans/black |
199 f beans/borlotti ../beans/borlotti |
199 f beans/borlotti ../beans/borlotti |
200 f beans/kidney ../beans/kidney |
200 f beans/kidney ../beans/kidney |
201 f beans/navy ../beans/navy |
201 f beans/navy ../beans/navy |
202 f beans/pinto ../beans/pinto |
202 f beans/pinto ../beans/pinto |
207 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
207 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
208 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
208 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
209 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
209 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
210 |
210 |
211 $ hg debugwalk . |
211 $ hg debugwalk . |
212 matcher: <matcher patterns='(?:mammals(?:/|$))', includes=None> |
212 matcher: <patternmatcher patterns='(?:mammals(?:/|$))', includes=None> |
213 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
213 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
214 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
214 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
215 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
215 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
216 f mammals/skunk skunk |
216 f mammals/skunk skunk |
217 $ hg debugwalk -I. |
217 $ hg debugwalk -I. |
218 matcher: <matcher patterns=None, includes='(?:mammals(?:/|$))'> |
218 matcher: <includematcher patterns=None, includes='(?:mammals(?:/|$))'> |
219 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
219 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
220 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
220 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
221 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
221 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
222 f mammals/skunk skunk |
222 f mammals/skunk skunk |
223 $ hg debugwalk Procyonidae |
223 $ hg debugwalk Procyonidae |
224 matcher: <matcher patterns='(?:mammals\\/Procyonidae(?:/|$))', includes=None> |
224 matcher: <patternmatcher patterns='(?:mammals\\/Procyonidae(?:/|$))', includes=None> |
225 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
225 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
226 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
226 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
227 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
227 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
228 |
228 |
229 $ cd Procyonidae |
229 $ cd Procyonidae |
230 $ hg debugwalk . |
230 $ hg debugwalk . |
231 matcher: <matcher patterns='(?:mammals\\/Procyonidae(?:/|$))', includes=None> |
231 matcher: <patternmatcher patterns='(?:mammals\\/Procyonidae(?:/|$))', includes=None> |
232 f mammals/Procyonidae/cacomistle cacomistle |
232 f mammals/Procyonidae/cacomistle cacomistle |
233 f mammals/Procyonidae/coatimundi coatimundi |
233 f mammals/Procyonidae/coatimundi coatimundi |
234 f mammals/Procyonidae/raccoon raccoon |
234 f mammals/Procyonidae/raccoon raccoon |
235 $ hg debugwalk .. |
235 $ hg debugwalk .. |
236 matcher: <matcher patterns='(?:mammals(?:/|$))', includes=None> |
236 matcher: <patternmatcher patterns='(?:mammals(?:/|$))', includes=None> |
237 f mammals/Procyonidae/cacomistle cacomistle |
237 f mammals/Procyonidae/cacomistle cacomistle |
238 f mammals/Procyonidae/coatimundi coatimundi |
238 f mammals/Procyonidae/coatimundi coatimundi |
239 f mammals/Procyonidae/raccoon raccoon |
239 f mammals/Procyonidae/raccoon raccoon |
240 f mammals/skunk ../skunk |
240 f mammals/skunk ../skunk |
241 $ cd .. |
241 $ cd .. |
242 |
242 |
243 $ hg debugwalk ../beans |
243 $ hg debugwalk ../beans |
244 matcher: <matcher patterns='(?:beans(?:/|$))', includes=None> |
244 matcher: <patternmatcher patterns='(?:beans(?:/|$))', includes=None> |
245 f beans/black ../beans/black |
245 f beans/black ../beans/black |
246 f beans/borlotti ../beans/borlotti |
246 f beans/borlotti ../beans/borlotti |
247 f beans/kidney ../beans/kidney |
247 f beans/kidney ../beans/kidney |
248 f beans/navy ../beans/navy |
248 f beans/navy ../beans/navy |
249 f beans/pinto ../beans/pinto |
249 f beans/pinto ../beans/pinto |
250 f beans/turtle ../beans/turtle |
250 f beans/turtle ../beans/turtle |
251 $ hg debugwalk . |
251 $ hg debugwalk . |
252 matcher: <matcher patterns='(?:mammals(?:/|$))', includes=None> |
252 matcher: <patternmatcher patterns='(?:mammals(?:/|$))', includes=None> |
253 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
253 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle |
254 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
254 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi |
255 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
255 f mammals/Procyonidae/raccoon Procyonidae/raccoon |
256 f mammals/skunk skunk |
256 f mammals/skunk skunk |
257 $ hg debugwalk .hg |
257 $ hg debugwalk .hg |
261 abort: path contains illegal component: .hg |
261 abort: path contains illegal component: .hg |
262 [255] |
262 [255] |
263 $ cd .. |
263 $ cd .. |
264 |
264 |
265 $ hg debugwalk -Ibeans |
265 $ hg debugwalk -Ibeans |
266 matcher: <matcher patterns=None, includes='(?:beans(?:/|$))'> |
266 matcher: <includematcher patterns=None, includes='(?:beans(?:/|$))'> |
267 f beans/black beans/black |
267 f beans/black beans/black |
268 f beans/borlotti beans/borlotti |
268 f beans/borlotti beans/borlotti |
269 f beans/kidney beans/kidney |
269 f beans/kidney beans/kidney |
270 f beans/navy beans/navy |
270 f beans/navy beans/navy |
271 f beans/pinto beans/pinto |
271 f beans/pinto beans/pinto |
272 f beans/turtle beans/turtle |
272 f beans/turtle beans/turtle |
273 $ hg debugwalk -I '{*,{b,m}*/*}k' |
273 $ hg debugwalk -I '{*,{b,m}*/*}k' |
274 matcher: <matcher patterns=None, includes='(?:(?:[^/]*|(?:b|m)[^/]*\\/[^/]*)k(?:/|$))'> |
274 matcher: <includematcher patterns=None, includes='(?:(?:[^/]*|(?:b|m)[^/]*\\/[^/]*)k(?:/|$))'> |
275 f beans/black beans/black |
275 f beans/black beans/black |
276 f fenugreek fenugreek |
276 f fenugreek fenugreek |
277 f mammals/skunk mammals/skunk |
277 f mammals/skunk mammals/skunk |
278 $ hg debugwalk -Ibeans mammals |
278 $ hg debugwalk -Ibeans mammals |
279 matcher: <intersectionmatcher m1=<matcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans(?:/|$))'>> |
279 matcher: <intersectionmatcher m1=<patternmatcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans(?:/|$))'>> |
280 $ hg debugwalk -Inon-existent |
280 $ hg debugwalk -Inon-existent |
281 matcher: <matcher patterns=None, includes='(?:non\\-existent(?:/|$))'> |
281 matcher: <includematcher patterns=None, includes='(?:non\\-existent(?:/|$))'> |
282 $ hg debugwalk -Inon-existent -Ibeans/black |
282 $ hg debugwalk -Inon-existent -Ibeans/black |
283 matcher: <matcher patterns=None, includes='(?:non\\-existent(?:/|$)|beans\\/black(?:/|$))'> |
283 matcher: <includematcher patterns=None, includes='(?:non\\-existent(?:/|$)|beans\\/black(?:/|$))'> |
284 f beans/black beans/black |
284 f beans/black beans/black |
285 $ hg debugwalk -Ibeans beans/black |
285 $ hg debugwalk -Ibeans beans/black |
286 matcher: <intersectionmatcher m1=<matcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans(?:/|$))'>> |
286 matcher: <intersectionmatcher m1=<patternmatcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans(?:/|$))'>> |
287 f beans/black beans/black exact |
287 f beans/black beans/black exact |
288 $ hg debugwalk -Ibeans/black beans |
288 $ hg debugwalk -Ibeans/black beans |
289 matcher: <intersectionmatcher m1=<matcher patterns='(?:beans(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
289 matcher: <intersectionmatcher m1=<patternmatcher patterns='(?:beans(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
290 f beans/black beans/black |
290 f beans/black beans/black |
291 $ hg debugwalk -Xbeans/black beans |
291 $ hg debugwalk -Xbeans/black beans |
292 matcher: <differencematcher m1=<matcher patterns='(?:beans(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
292 matcher: <differencematcher m1=<patternmatcher patterns='(?:beans(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
293 f beans/borlotti beans/borlotti |
293 f beans/borlotti beans/borlotti |
294 f beans/kidney beans/kidney |
294 f beans/kidney beans/kidney |
295 f beans/navy beans/navy |
295 f beans/navy beans/navy |
296 f beans/pinto beans/pinto |
296 f beans/pinto beans/pinto |
297 f beans/turtle beans/turtle |
297 f beans/turtle beans/turtle |
298 $ hg debugwalk -Xbeans/black -Ibeans |
298 $ hg debugwalk -Xbeans/black -Ibeans |
299 matcher: <differencematcher m1=<matcher patterns=None, includes='(?:beans(?:/|$))'>, m2=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
299 matcher: <differencematcher m1=<includematcher patterns=None, includes='(?:beans(?:/|$))'>, m2=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
300 f beans/borlotti beans/borlotti |
300 f beans/borlotti beans/borlotti |
301 f beans/kidney beans/kidney |
301 f beans/kidney beans/kidney |
302 f beans/navy beans/navy |
302 f beans/navy beans/navy |
303 f beans/pinto beans/pinto |
303 f beans/pinto beans/pinto |
304 f beans/turtle beans/turtle |
304 f beans/turtle beans/turtle |
305 $ hg debugwalk -Xbeans/black beans/black |
305 $ hg debugwalk -Xbeans/black beans/black |
306 matcher: <differencematcher m1=<matcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
306 matcher: <differencematcher m1=<patternmatcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
307 f beans/black beans/black exact |
307 f beans/black beans/black exact |
308 $ hg debugwalk -Xbeans/black -Ibeans/black |
308 $ hg debugwalk -Xbeans/black -Ibeans/black |
309 matcher: <differencematcher m1=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>, m2=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
309 matcher: <differencematcher m1=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>, m2=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>> |
310 $ hg debugwalk -Xbeans beans/black |
310 $ hg debugwalk -Xbeans beans/black |
311 matcher: <differencematcher m1=<matcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:beans(?:/|$))'>> |
311 matcher: <differencematcher m1=<patternmatcher patterns='(?:beans\\/black(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:beans(?:/|$))'>> |
312 f beans/black beans/black exact |
312 f beans/black beans/black exact |
313 $ hg debugwalk -Xbeans -Ibeans/black |
313 $ hg debugwalk -Xbeans -Ibeans/black |
314 matcher: <differencematcher m1=<matcher patterns=None, includes='(?:beans\\/black(?:/|$))'>, m2=<matcher patterns=None, includes='(?:beans(?:/|$))'>> |
314 matcher: <differencematcher m1=<includematcher patterns=None, includes='(?:beans\\/black(?:/|$))'>, m2=<includematcher patterns=None, includes='(?:beans(?:/|$))'>> |
315 $ hg debugwalk 'glob:mammals/../beans/b*' |
315 $ hg debugwalk 'glob:mammals/../beans/b*' |
316 matcher: <matcher patterns='(?:beans\\/b[^/]*$)', includes=None> |
316 matcher: <patternmatcher patterns='(?:beans\\/b[^/]*$)', includes=None> |
317 f beans/black beans/black |
317 f beans/black beans/black |
318 f beans/borlotti beans/borlotti |
318 f beans/borlotti beans/borlotti |
319 $ hg debugwalk '-X*/Procyonidae' mammals |
319 $ hg debugwalk '-X*/Procyonidae' mammals |
320 matcher: <differencematcher m1=<matcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<matcher patterns=None, includes='(?:[^/]*\\/Procyonidae(?:/|$))'>> |
320 matcher: <differencematcher m1=<patternmatcher patterns='(?:mammals(?:/|$))', includes=None>, m2=<includematcher patterns=None, includes='(?:[^/]*\\/Procyonidae(?:/|$))'>> |
321 f mammals/skunk mammals/skunk |
321 f mammals/skunk mammals/skunk |
322 $ hg debugwalk path:mammals |
322 $ hg debugwalk path:mammals |
323 matcher: <matcher patterns='(?:^mammals(?:/|$))', includes=None> |
323 matcher: <patternmatcher patterns='(?:^mammals(?:/|$))', includes=None> |
324 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
324 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
325 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
325 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
326 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
326 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
327 f mammals/skunk mammals/skunk |
327 f mammals/skunk mammals/skunk |
328 $ hg debugwalk .. |
328 $ hg debugwalk .. |
359 [255] |
359 [255] |
360 |
360 |
361 Test patterns: |
361 Test patterns: |
362 |
362 |
363 $ hg debugwalk glob:\* |
363 $ hg debugwalk glob:\* |
364 matcher: <matcher patterns='(?:[^/]*$)', includes=None> |
364 matcher: <patternmatcher patterns='(?:[^/]*$)', includes=None> |
365 f fennel fennel |
365 f fennel fennel |
366 f fenugreek fenugreek |
366 f fenugreek fenugreek |
367 f fiddlehead fiddlehead |
367 f fiddlehead fiddlehead |
368 #if eol-in-paths |
368 #if eol-in-paths |
369 $ echo glob:glob > glob:glob |
369 $ echo glob:glob > glob:glob |
370 $ hg addremove |
370 $ hg addremove |
371 adding glob:glob |
371 adding glob:glob |
372 warning: filename contains ':', which is reserved on Windows: 'glob:glob' |
372 warning: filename contains ':', which is reserved on Windows: 'glob:glob' |
373 $ hg debugwalk glob:\* |
373 $ hg debugwalk glob:\* |
374 matcher: <matcher patterns='(?:[^/]*$)', includes=None> |
374 matcher: <patternmatcher patterns='(?:[^/]*$)', includes=None> |
375 f fennel fennel |
375 f fennel fennel |
376 f fenugreek fenugreek |
376 f fenugreek fenugreek |
377 f fiddlehead fiddlehead |
377 f fiddlehead fiddlehead |
378 f glob:glob glob:glob |
378 f glob:glob glob:glob |
379 $ hg debugwalk glob:glob |
379 $ hg debugwalk glob:glob |
380 matcher: <matcher patterns='(?:glob$)', includes=None> |
380 matcher: <patternmatcher patterns='(?:glob$)', includes=None> |
381 glob: No such file or directory |
381 glob: No such file or directory |
382 $ hg debugwalk glob:glob:glob |
382 $ hg debugwalk glob:glob:glob |
383 matcher: <matcher patterns='(?:glob\\:glob$)', includes=None> |
383 matcher: <patternmatcher patterns='(?:glob\\:glob$)', includes=None> |
384 f glob:glob glob:glob exact |
384 f glob:glob glob:glob exact |
385 $ hg debugwalk path:glob:glob |
385 $ hg debugwalk path:glob:glob |
386 matcher: <matcher patterns='(?:^glob\\:glob(?:/|$))', includes=None> |
386 matcher: <patternmatcher patterns='(?:^glob\\:glob(?:/|$))', includes=None> |
387 f glob:glob glob:glob exact |
387 f glob:glob glob:glob exact |
388 $ rm glob:glob |
388 $ rm glob:glob |
389 $ hg addremove |
389 $ hg addremove |
390 removing glob:glob |
390 removing glob:glob |
391 #endif |
391 #endif |
392 |
392 |
393 $ hg debugwalk 'glob:**e' |
393 $ hg debugwalk 'glob:**e' |
394 matcher: <matcher patterns='(?:.*e$)', includes=None> |
394 matcher: <patternmatcher patterns='(?:.*e$)', includes=None> |
395 f beans/turtle beans/turtle |
395 f beans/turtle beans/turtle |
396 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
396 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
397 |
397 |
398 $ hg debugwalk 're:.*[kb]$' |
398 $ hg debugwalk 're:.*[kb]$' |
399 matcher: <matcher patterns='(?:.*[kb]$)', includes=None> |
399 matcher: <patternmatcher patterns='(?:.*[kb]$)', includes=None> |
400 f beans/black beans/black |
400 f beans/black beans/black |
401 f fenugreek fenugreek |
401 f fenugreek fenugreek |
402 f mammals/skunk mammals/skunk |
402 f mammals/skunk mammals/skunk |
403 |
403 |
404 $ hg debugwalk path:beans/black |
404 $ hg debugwalk path:beans/black |
405 matcher: <matcher patterns='(?:^beans\\/black(?:/|$))', includes=None> |
405 matcher: <patternmatcher patterns='(?:^beans\\/black(?:/|$))', includes=None> |
406 f beans/black beans/black exact |
406 f beans/black beans/black exact |
407 $ hg debugwalk path:beans//black |
407 $ hg debugwalk path:beans//black |
408 matcher: <matcher patterns='(?:^beans\\/black(?:/|$))', includes=None> |
408 matcher: <patternmatcher patterns='(?:^beans\\/black(?:/|$))', includes=None> |
409 f beans/black beans/black exact |
409 f beans/black beans/black exact |
410 |
410 |
411 $ hg debugwalk relglob:Procyonidae |
411 $ hg debugwalk relglob:Procyonidae |
412 matcher: <matcher patterns='(?:(?:|.*/)Procyonidae$)', includes=None> |
412 matcher: <patternmatcher patterns='(?:(?:|.*/)Procyonidae$)', includes=None> |
413 $ hg debugwalk 'relglob:Procyonidae/**' |
413 $ hg debugwalk 'relglob:Procyonidae/**' |
414 matcher: <matcher patterns='(?:(?:|.*/)Procyonidae\\/.*$)', includes=None> |
414 matcher: <patternmatcher patterns='(?:(?:|.*/)Procyonidae\\/.*$)', includes=None> |
415 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
415 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
416 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
416 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
417 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
417 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
418 $ hg debugwalk 'relglob:Procyonidae/**' fennel |
418 $ hg debugwalk 'relglob:Procyonidae/**' fennel |
419 matcher: <matcher patterns='(?:(?:|.*/)Procyonidae\\/.*$|fennel(?:/|$))', includes=None> |
419 matcher: <patternmatcher patterns='(?:(?:|.*/)Procyonidae\\/.*$|fennel(?:/|$))', includes=None> |
420 f fennel fennel exact |
420 f fennel fennel exact |
421 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
421 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
422 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
422 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
423 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
423 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
424 $ hg debugwalk beans 'glob:beans/*' |
424 $ hg debugwalk beans 'glob:beans/*' |
425 matcher: <matcher patterns='(?:beans(?:/|$)|beans\\/[^/]*$)', includes=None> |
425 matcher: <patternmatcher patterns='(?:beans(?:/|$)|beans\\/[^/]*$)', includes=None> |
426 f beans/black beans/black |
426 f beans/black beans/black |
427 f beans/borlotti beans/borlotti |
427 f beans/borlotti beans/borlotti |
428 f beans/kidney beans/kidney |
428 f beans/kidney beans/kidney |
429 f beans/navy beans/navy |
429 f beans/navy beans/navy |
430 f beans/pinto beans/pinto |
430 f beans/pinto beans/pinto |
431 f beans/turtle beans/turtle |
431 f beans/turtle beans/turtle |
432 $ hg debugwalk 'glob:mamm**' |
432 $ hg debugwalk 'glob:mamm**' |
433 matcher: <matcher patterns='(?:mamm.*$)', includes=None> |
433 matcher: <patternmatcher patterns='(?:mamm.*$)', includes=None> |
434 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
434 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
435 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
435 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
436 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
436 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
437 f mammals/skunk mammals/skunk |
437 f mammals/skunk mammals/skunk |
438 $ hg debugwalk 'glob:mamm**' fennel |
438 $ hg debugwalk 'glob:mamm**' fennel |
439 matcher: <matcher patterns='(?:mamm.*$|fennel(?:/|$))', includes=None> |
439 matcher: <patternmatcher patterns='(?:mamm.*$|fennel(?:/|$))', includes=None> |
440 f fennel fennel exact |
440 f fennel fennel exact |
441 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
441 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle |
442 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
442 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi |
443 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
443 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
444 f mammals/skunk mammals/skunk |
444 f mammals/skunk mammals/skunk |
445 $ hg debugwalk 'glob:j*' |
445 $ hg debugwalk 'glob:j*' |
446 matcher: <matcher patterns='(?:j[^/]*$)', includes=None> |
446 matcher: <patternmatcher patterns='(?:j[^/]*$)', includes=None> |
447 $ hg debugwalk NOEXIST |
447 $ hg debugwalk NOEXIST |
448 matcher: <matcher patterns='(?:NOEXIST(?:/|$))', includes=None> |
448 matcher: <patternmatcher patterns='(?:NOEXIST(?:/|$))', includes=None> |
449 NOEXIST: * (glob) |
449 NOEXIST: * (glob) |
450 |
450 |
451 #if fifo |
451 #if fifo |
452 $ mkfifo fifo |
452 $ mkfifo fifo |
453 $ hg debugwalk fifo |
453 $ hg debugwalk fifo |
454 matcher: <matcher patterns='(?:fifo(?:/|$))', includes=None> |
454 matcher: <patternmatcher patterns='(?:fifo(?:/|$))', includes=None> |
455 fifo: unsupported file type (type is fifo) |
455 fifo: unsupported file type (type is fifo) |
456 #endif |
456 #endif |
457 |
457 |
458 $ rm fenugreek |
458 $ rm fenugreek |
459 $ hg debugwalk fenugreek |
459 $ hg debugwalk fenugreek |
460 matcher: <matcher patterns='(?:fenugreek(?:/|$))', includes=None> |
460 matcher: <patternmatcher patterns='(?:fenugreek(?:/|$))', includes=None> |
461 f fenugreek fenugreek exact |
461 f fenugreek fenugreek exact |
462 $ hg rm fenugreek |
462 $ hg rm fenugreek |
463 $ hg debugwalk fenugreek |
463 $ hg debugwalk fenugreek |
464 matcher: <matcher patterns='(?:fenugreek(?:/|$))', includes=None> |
464 matcher: <patternmatcher patterns='(?:fenugreek(?:/|$))', includes=None> |
465 f fenugreek fenugreek exact |
465 f fenugreek fenugreek exact |
466 $ touch new |
466 $ touch new |
467 $ hg debugwalk new |
467 $ hg debugwalk new |
468 matcher: <matcher patterns='(?:new(?:/|$))', includes=None> |
468 matcher: <patternmatcher patterns='(?:new(?:/|$))', includes=None> |
469 f new new exact |
469 f new new exact |
470 |
470 |
471 $ mkdir ignored |
471 $ mkdir ignored |
472 $ touch ignored/file |
472 $ touch ignored/file |
473 $ echo '^ignored$' > .hgignore |
473 $ echo '^ignored$' > .hgignore |
474 $ hg debugwalk ignored |
474 $ hg debugwalk ignored |
475 matcher: <matcher patterns='(?:ignored(?:/|$))', includes=None> |
475 matcher: <patternmatcher patterns='(?:ignored(?:/|$))', includes=None> |
476 $ hg debugwalk ignored/file |
476 $ hg debugwalk ignored/file |
477 matcher: <matcher patterns='(?:ignored\\/file(?:/|$))', includes=None> |
477 matcher: <patternmatcher patterns='(?:ignored\\/file(?:/|$))', includes=None> |
478 f ignored/file ignored/file exact |
478 f ignored/file ignored/file exact |
479 |
479 |
480 Test listfile and listfile0 |
480 Test listfile and listfile0 |
481 |
481 |
482 $ $PYTHON -c "file('listfile0', 'wb').write('fenugreek\0new\0')" |
482 $ $PYTHON -c "file('listfile0', 'wb').write('fenugreek\0new\0')" |
483 $ hg debugwalk -I 'listfile0:listfile0' |
483 $ hg debugwalk -I 'listfile0:listfile0' |
484 matcher: <matcher patterns=None, includes='(?:fenugreek(?:/|$)|new(?:/|$))'> |
484 matcher: <includematcher patterns=None, includes='(?:fenugreek(?:/|$)|new(?:/|$))'> |
485 f fenugreek fenugreek |
485 f fenugreek fenugreek |
486 f new new |
486 f new new |
487 $ $PYTHON -c "file('listfile', 'wb').write('fenugreek\nnew\r\nmammals/skunk\n')" |
487 $ $PYTHON -c "file('listfile', 'wb').write('fenugreek\nnew\r\nmammals/skunk\n')" |
488 $ hg debugwalk -I 'listfile:listfile' |
488 $ hg debugwalk -I 'listfile:listfile' |
489 matcher: <matcher patterns=None, includes='(?:fenugreek(?:/|$)|new(?:/|$)|mammals\\/skunk(?:/|$))'> |
489 matcher: <includematcher patterns=None, includes='(?:fenugreek(?:/|$)|new(?:/|$)|mammals\\/skunk(?:/|$))'> |
490 f fenugreek fenugreek |
490 f fenugreek fenugreek |
491 f mammals/skunk mammals/skunk |
491 f mammals/skunk mammals/skunk |
492 f new new |
492 f new new |
493 |
493 |
494 $ cd .. |
494 $ cd .. |
495 $ hg debugwalk -R t t/mammals/skunk |
495 $ hg debugwalk -R t t/mammals/skunk |
496 matcher: <matcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
496 matcher: <patternmatcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
497 f mammals/skunk t/mammals/skunk exact |
497 f mammals/skunk t/mammals/skunk exact |
498 $ mkdir t2 |
498 $ mkdir t2 |
499 $ cd t2 |
499 $ cd t2 |
500 $ hg debugwalk -R ../t ../t/mammals/skunk |
500 $ hg debugwalk -R ../t ../t/mammals/skunk |
501 matcher: <matcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
501 matcher: <patternmatcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
502 f mammals/skunk ../t/mammals/skunk exact |
502 f mammals/skunk ../t/mammals/skunk exact |
503 $ hg debugwalk --cwd ../t mammals/skunk |
503 $ hg debugwalk --cwd ../t mammals/skunk |
504 matcher: <matcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
504 matcher: <patternmatcher patterns='(?:mammals\\/skunk(?:/|$))', includes=None> |
505 f mammals/skunk mammals/skunk exact |
505 f mammals/skunk mammals/skunk exact |
506 |
506 |
507 $ cd .. |
507 $ cd .. |
508 |
508 |
509 Test split patterns on overflow |
509 Test split patterns on overflow |