tests/test-walk.t
changeset 35393 4441705b7111
parent 35230 feecfefeba25
child 35659 821d8a5ab4ff
equal deleted inserted replaced
35392:5feb782c7a95 35393:4441705b7111
   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
   258   abort: path 'mammals/.hg' is inside nested repo 'mammals' (glob)
   258   abort: path 'mammals/.hg' is inside nested repo 'mammals'
   259   [255]
   259   [255]
   260   $ hg debugwalk ../.hg
   260   $ 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 ..
   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 ..
   329   abort: .. not under root '$TESTTMP/t' (glob)
   329   abort: .. not under root '$TESTTMP/t'
   330   [255]
   330   [255]
   331   $ hg debugwalk beans/../..
   331   $ hg debugwalk beans/../..
   332   abort: beans/../.. not under root '$TESTTMP/t' (glob)
   332   abort: beans/../.. not under root '$TESTTMP/t'
   333   [255]
   333   [255]
   334   $ hg debugwalk .hg
   334   $ hg debugwalk .hg
   335   abort: path contains illegal component: .hg
   335   abort: path contains illegal component: .hg
   336   [255]
   336   [255]
   337   $ hg debugwalk beans/../.hg
   337   $ hg debugwalk beans/../.hg
   338   abort: path contains illegal component: .hg
   338   abort: path contains illegal component: .hg
   339   [255]
   339   [255]
   340   $ hg debugwalk beans/../.hg/data
   340   $ hg debugwalk beans/../.hg/data
   341   abort: path contains illegal component: .hg/data (glob)
   341   abort: path contains illegal component: .hg/data
   342   [255]
   342   [255]
   343   $ hg debugwalk beans/.hg
   343   $ hg debugwalk beans/.hg
   344   abort: path 'beans/.hg' is inside nested repo 'beans' (glob)
   344   abort: path 'beans/.hg' is inside nested repo 'beans'
   345   [255]
   345   [255]
   346 
   346 
   347 Test absolute paths:
   347 Test absolute paths:
   348 
   348 
   349   $ hg debugwalk `pwd`/beans
   349   $ hg debugwalk `pwd`/beans
   353   f  beans/kidney    beans/kidney
   353   f  beans/kidney    beans/kidney
   354   f  beans/navy      beans/navy
   354   f  beans/navy      beans/navy
   355   f  beans/pinto     beans/pinto
   355   f  beans/pinto     beans/pinto
   356   f  beans/turtle    beans/turtle
   356   f  beans/turtle    beans/turtle
   357   $ hg debugwalk `pwd`/..
   357   $ hg debugwalk `pwd`/..
   358   abort: $TESTTMP/t/.. not under root '$TESTTMP/t' (glob)
   358   abort: $TESTTMP/t/.. not under root '$TESTTMP/t'
   359   [255]
   359   [255]
   360 
   360 
   361 Test patterns:
   361 Test patterns:
   362 
   362 
   363   $ hg debugwalk glob:\*
   363   $ hg debugwalk glob:\*