comparison tests/test-walk.t @ 18450:4f9a52858512

scmutil: localize and improve 'not under root' message
author Mads Kiilerich <madski@unity3d.com>
date Fri, 18 Jan 2013 01:24:29 +0100
parents 40c9aa702303
children ef60083b5536
comparison
equal deleted inserted replaced
18449:20462259b92a 18450:4f9a52858512
179 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle 179 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
180 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi 180 f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
181 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon 181 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
182 f mammals/skunk mammals/skunk 182 f mammals/skunk mammals/skunk
183 $ hg debugwalk .. 183 $ hg debugwalk ..
184 abort: .. not under root 184 abort: .. not under root '$TESTTMP/t'
185 [255] 185 [255]
186 $ hg debugwalk beans/../.. 186 $ hg debugwalk beans/../..
187 abort: beans/../.. not under root 187 abort: beans/../.. not under root '$TESTTMP/t'
188 [255] 188 [255]
189 $ hg debugwalk .hg 189 $ hg debugwalk .hg
190 abort: path contains illegal component: .hg (glob) 190 abort: path contains illegal component: .hg (glob)
191 [255] 191 [255]
192 $ hg debugwalk beans/../.hg 192 $ hg debugwalk beans/../.hg
207 f beans/kidney beans/kidney 207 f beans/kidney beans/kidney
208 f beans/navy beans/navy 208 f beans/navy beans/navy
209 f beans/pinto beans/pinto 209 f beans/pinto beans/pinto
210 f beans/turtle beans/turtle 210 f beans/turtle beans/turtle
211 $ hg debugwalk `pwd`/.. 211 $ hg debugwalk `pwd`/..
212 abort: $TESTTMP/t/.. not under root 212 abort: $TESTTMP/t/.. not under root '$TESTTMP/t'
213 [255] 213 [255]
214 214
215 Test patterns: 215 Test patterns:
216 216
217 $ hg debugwalk glob:\* 217 $ hg debugwalk glob:\*