tests/test-walk.t
changeset 13910 93452579df9e
parent 12640 6cc4b14fb76b
child 13956 ffb5c09ba822
equal deleted inserted replaced
13909:184cf2fa1046 13910:93452579df9e
   157   f  mammals/Procyonidae/cacomistle  Procyonidae/cacomistle
   157   f  mammals/Procyonidae/cacomistle  Procyonidae/cacomistle
   158   f  mammals/Procyonidae/coatimundi  Procyonidae/coatimundi
   158   f  mammals/Procyonidae/coatimundi  Procyonidae/coatimundi
   159   f  mammals/Procyonidae/raccoon     Procyonidae/raccoon
   159   f  mammals/Procyonidae/raccoon     Procyonidae/raccoon
   160   f  mammals/skunk                   skunk
   160   f  mammals/skunk                   skunk
   161   $ hg debugwalk .hg
   161   $ hg debugwalk .hg
   162   abort: path 'mammals/.hg' is inside repo 'mammals'
   162   abort: path 'mammals/.hg' is inside nested repo 'mammals'
   163   [255]
   163   [255]
   164   $ hg debugwalk ../.hg
   164   $ hg debugwalk ../.hg
   165   abort: path contains illegal component: .hg
   165   abort: path contains illegal component: .hg
   166   [255]
   166   [255]
   167   $ cd ..
   167   $ cd ..
   201   [255]
   201   [255]
   202   $ hg debugwalk beans/../.hg/data
   202   $ hg debugwalk beans/../.hg/data
   203   abort: path contains illegal component: .hg/data
   203   abort: path contains illegal component: .hg/data
   204   [255]
   204   [255]
   205   $ hg debugwalk beans/.hg
   205   $ hg debugwalk beans/.hg
   206   abort: path 'beans/.hg' is inside repo 'beans'
   206   abort: path 'beans/.hg' is inside nested repo 'beans'
   207   [255]
   207   [255]
   208 
   208 
   209 Test absolute paths:
   209 Test absolute paths:
   210 
   210 
   211   $ hg debugwalk `pwd`/beans
   211   $ hg debugwalk `pwd`/beans