annotate tests/test-walk.out @ 4186:02de0f98ca33

make the output of test-walk more readable
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 10 Mar 2007 23:00:52 -0300
parents 769bc4af561d
children 9814d600011e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
889
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
1 adding beans/black
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
2 adding beans/borlotti
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
3 adding beans/kidney
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
4 adding beans/navy
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
5 adding beans/pinto
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
6 adding beans/turtle
1184
9462df772bc8 Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents: 1082
diff changeset
7 adding fennel
9462df772bc8 Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents: 1082
diff changeset
8 adding fenugreek
9462df772bc8 Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents: 1082
diff changeset
9 adding fiddlehead
9462df772bc8 Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents: 1082
diff changeset
10 adding glob:glob
889
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
11 adding mammals/Procyonidae/cacomistle
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
12 adding mammals/Procyonidae/coatimundi
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
13 adding mammals/Procyonidae/raccoon
1184
9462df772bc8 Fix up failing tests.
bos@serpentine.internal.keyresearch.com
parents: 1082
diff changeset
14 adding mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
15 hg debugwalk
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
16 f beans/black beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
17 f beans/borlotti beans/borlotti
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
18 f beans/kidney beans/kidney
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
19 f beans/navy beans/navy
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
20 f beans/pinto beans/pinto
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
21 f beans/turtle beans/turtle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
22 f fennel fennel
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
23 f fenugreek fenugreek
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
24 f fiddlehead fiddlehead
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
25 f glob:glob glob:glob
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
26 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
27 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
28 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
29 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
30
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
31 hg debugwalk -I.
4185
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
32 f beans/black beans/black
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
33 f beans/borlotti beans/borlotti
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
34 f beans/kidney beans/kidney
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
35 f beans/navy beans/navy
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
36 f beans/pinto beans/pinto
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
37 f beans/turtle beans/turtle
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
38 f fennel fennel
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
39 f fenugreek fenugreek
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
40 f fiddlehead fiddlehead
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
41 f glob:glob glob:glob
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
42 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
43 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
44 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
45 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
46
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
47 cd mammals
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
48
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
49 hg debugwalk .
4185
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
50 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
51 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
52 f mammals/Procyonidae/raccoon Procyonidae/raccoon
769bc4af561d util.*matcher: change default "names" argument
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4184
diff changeset
53 f mammals/skunk skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
54
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
55 hg debugwalk -I.
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
56 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
57 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
58 f mammals/Procyonidae/raccoon Procyonidae/raccoon
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
59 f mammals/skunk skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
60
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
61 hg debugwalk Procyonidae
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
62 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
63 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
64 f mammals/Procyonidae/raccoon Procyonidae/raccoon
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
65
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
66 cd Procyonidae
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
67
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
68 hg debugwalk .
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
69 f mammals/Procyonidae/cacomistle cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
70 f mammals/Procyonidae/coatimundi coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
71 f mammals/Procyonidae/raccoon raccoon
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
72
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
73 hg debugwalk ..
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
74 f mammals/Procyonidae/cacomistle cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
75 f mammals/Procyonidae/coatimundi coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
76 f mammals/Procyonidae/raccoon raccoon
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
77 f mammals/skunk ../skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
78
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
79 cd ..
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
80
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
81 hg debugwalk ../beans
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
82 f beans/black ../beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
83 f beans/borlotti ../beans/borlotti
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
84 f beans/kidney ../beans/kidney
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
85 f beans/navy ../beans/navy
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
86 f beans/pinto ../beans/pinto
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
87 f beans/turtle ../beans/turtle
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
88
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
89 hg debugwalk .
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
90 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
91 f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
92 f mammals/Procyonidae/raccoon Procyonidae/raccoon
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
93 f mammals/skunk skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
94
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
95 hg debugwalk .hg
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
96 .hg: No such file or directory
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
97
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
98 hg debugwalk ../.hg
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
99 abort: path contains illegal component: .hg
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
100
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
101
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
102 cd ..
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
103
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
104 hg debugwalk -Ibeans
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
105 f beans/black beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
106 f beans/borlotti beans/borlotti
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
107 f beans/kidney beans/kidney
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
108 f beans/navy beans/navy
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
109 f beans/pinto beans/pinto
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
110 f beans/turtle beans/turtle
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
111
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
112 hg debugwalk glob:mammals/../beans/b*
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
113 f beans/black beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
114 f beans/borlotti beans/borlotti
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
115
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
116 hg debugwalk -X*/Procyonidae mammals
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
117 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
118
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
119 hg debugwalk path:mammals
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
120 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
121 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
122 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
123 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
124
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
125 hg debugwalk ..
1082
ce96e316278a Update util.py docstrings, fix walk test
mpm@selenic.com
parents: 981
diff changeset
126 abort: .. not under root
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
127
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
128 hg debugwalk beans/../..
1082
ce96e316278a Update util.py docstrings, fix walk test
mpm@selenic.com
parents: 981
diff changeset
129 abort: beans/../.. not under root
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
130
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
131 hg debugwalk .hg
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
132 abort: path contains illegal component: .hg
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
133
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
134
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
135 hg debugwalk beans/../.hg
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
136 abort: path contains illegal component: .hg
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
137
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
138
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
139 hg debugwalk beans/../.hg/data
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
140 abort: path contains illegal component: .hg/data
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
141
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
142
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
143 hg debugwalk beans/.hg
1976
df8416346bb7 Enable path validation for copy, rename, debugwalk and other canonpath users.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1309
diff changeset
144 beans/.hg: No such file or directory
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
145
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
146 hg debugwalk glob:*
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
147 f fennel fennel
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
148 f fenugreek fenugreek
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
149 f fiddlehead fiddlehead
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
150 f glob:glob glob:glob
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
151
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
152 hg debugwalk re:.*[kb]$
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
153 f beans/black beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
154 f fenugreek fenugreek
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
155 f glob:glob glob:glob
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
156 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
157
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
158 hg debugwalk path:beans/black
4184
b1716a1f79c4 util._matcher: fix handling of path: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4183
diff changeset
159 f beans/black beans/black exact
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
160
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
161 hg debugwalk path:beans//black
4184
b1716a1f79c4 util._matcher: fix handling of path: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4183
diff changeset
162 f beans/black beans/black exact
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
163
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
164 hg debugwalk relglob:Procyonidae
4183
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
165 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
166 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
167 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
168
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
169 hg debugwalk relglob:Procyonidae/ fennel
4183
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
170 f fennel fennel exact
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
171 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
172 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
ce3ecf99a18b util._matcher: fix handling of relglob: patterns
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4182
diff changeset
173 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
174
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
175 hg debugwalk beans glob:beans/*
1309
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
176 f beans/black beans/black
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
177 f beans/borlotti beans/borlotti
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
178 f beans/kidney beans/kidney
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
179 f beans/navy beans/navy
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
180 f beans/pinto beans/pinto
332f225b835c Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1184
diff changeset
181 f beans/turtle beans/turtle
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
182
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
183 hg debugwalk glob:mamm**
4182
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
184 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
185 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
186 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
187 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
188
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
189 hg debugwalk glob:mamm** fennel
4182
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
190 f fennel fennel exact
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
191 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
192 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
193 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
01c4ea5e788c A 'glob:foo?bar' pattern determines a root - the tree root
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2955
diff changeset
194 f mammals/skunk mammals/skunk
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
195
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
196 hg debugwalk glob:j*
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
197
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
198 hg debugwalk NOEXIST
889
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
199 NOEXIST: No such file or directory
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
200
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
201 hg debugwalk fifo
889
0a06d9d373c3 Add unit tests for walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
202 fifo: unsupported file type (type is fifo)
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
203
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
204 hg debugwalk fenugreek
942
7eb8cbcca7c4 Modify commands.walk to yield a 4-tuple.
Bryan O'Sullivan <bos@serpentine.com>
parents: 925
diff changeset
205 m fenugreek fenugreek exact
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
206
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
207 hg debugwalk fenugreek
942
7eb8cbcca7c4 Modify commands.walk to yield a 4-tuple.
Bryan O'Sullivan <bos@serpentine.com>
parents: 925
diff changeset
208 m fenugreek fenugreek exact
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
209
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
210 hg debugwalk new
942
7eb8cbcca7c4 Modify commands.walk to yield a 4-tuple.
Bryan O'Sullivan <bos@serpentine.com>
parents: 925
diff changeset
211 f new new exact
4186
02de0f98ca33 make the output of test-walk more readable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4185
diff changeset
212