##// END OF EJS Templates
tests: run test-walk.t on windows...
Mads Kiilerich -
r16985:40c9aa70 default
parent child Browse files
Show More
@@ -1,5 +1,3 b''
1 $ "$TESTDIR/hghave" no-windows || exit 80
2
3 $ hg init t
1 $ hg init t
4 $ cd t
2 $ cd t
5 $ mkdir -p beans
3 $ mkdir -p beans
@@ -107,7 +105,7 b''
107 f beans/navy ../beans/navy
105 f beans/navy ../beans/navy
108 f beans/pinto ../beans/pinto
106 f beans/pinto ../beans/pinto
109 f beans/turtle ../beans/turtle
107 f beans/turtle ../beans/turtle
110 $ hg debugwalk -I 'relpath:../beans'
108 $ hg debugwalk -I 'relpath:detour/../../beans'
111 f beans/black ../beans/black
109 f beans/black ../beans/black
112 f beans/borlotti ../beans/borlotti
110 f beans/borlotti ../beans/borlotti
113 f beans/kidney ../beans/kidney
111 f beans/kidney ../beans/kidney
@@ -154,10 +152,10 b''
154 f mammals/Procyonidae/raccoon Procyonidae/raccoon
152 f mammals/Procyonidae/raccoon Procyonidae/raccoon
155 f mammals/skunk skunk
153 f mammals/skunk skunk
156 $ hg debugwalk .hg
154 $ hg debugwalk .hg
157 abort: path 'mammals/.hg' is inside nested repo 'mammals'
155 abort: path 'mammals/.hg' is inside nested repo 'mammals' (glob)
158 [255]
156 [255]
159 $ hg debugwalk ../.hg
157 $ hg debugwalk ../.hg
160 abort: path contains illegal component: .hg
158 abort: path contains illegal component: .hg (glob)
161 [255]
159 [255]
162 $ cd ..
160 $ cd ..
163
161
@@ -189,16 +187,16 b''
189 abort: beans/../.. not under root
187 abort: beans/../.. not under root
190 [255]
188 [255]
191 $ hg debugwalk .hg
189 $ hg debugwalk .hg
192 abort: path contains illegal component: .hg
190 abort: path contains illegal component: .hg (glob)
193 [255]
191 [255]
194 $ hg debugwalk beans/../.hg
192 $ hg debugwalk beans/../.hg
195 abort: path contains illegal component: .hg
193 abort: path contains illegal component: .hg (glob)
196 [255]
194 [255]
197 $ hg debugwalk beans/../.hg/data
195 $ hg debugwalk beans/../.hg/data
198 abort: path contains illegal component: .hg/data
196 abort: path contains illegal component: .hg/data (glob)
199 [255]
197 [255]
200 $ hg debugwalk beans/.hg
198 $ hg debugwalk beans/.hg
201 abort: path 'beans/.hg' is inside nested repo 'beans'
199 abort: path 'beans/.hg' is inside nested repo 'beans' (glob)
202 [255]
200 [255]
203
201
204 Test absolute paths:
202 Test absolute paths:
@@ -312,12 +310,12 b' Test patterns:'
312
310
313 Test listfile and listfile0
311 Test listfile and listfile0
314
312
315 $ python -c "file('../listfile0', 'wb').write('fenugreek\0new\0')"
313 $ python -c "file('listfile0', 'wb').write('fenugreek\0new\0')"
316 $ hg debugwalk -I 'listfile0:../listfile0'
314 $ hg debugwalk -I 'listfile0:listfile0'
317 f fenugreek fenugreek
315 f fenugreek fenugreek
318 f new new
316 f new new
319 $ python -c "file('../listfile', 'wb').write('fenugreek\nnew\r\nmammals/skunk\n')"
317 $ python -c "file('listfile', 'wb').write('fenugreek\nnew\r\nmammals/skunk\n')"
320 $ hg debugwalk -I 'listfile:../listfile'
318 $ hg debugwalk -I 'listfile:listfile'
321 f fenugreek fenugreek
319 f fenugreek fenugreek
322 f mammals/skunk mammals/skunk
320 f mammals/skunk mammals/skunk
323 f new new
321 f new new
General Comments 0
You need to be logged in to leave comments. Login now