tests/test-paths.t
changeset 46827 1ecf082386b7
parent 46826 83b0a5c0dfec
child 46828 395cf404e76a
equal deleted inserted replaced
46826:83b0a5c0dfec 46827:1ecf082386b7
   332   searching for changes
   332   searching for changes
   333   adding changesets
   333   adding changesets
   334   adding manifests
   334   adding manifests
   335   adding file changes
   335   adding file changes
   336   added 5 changesets with 0 changes to 0 files (+1 heads)
   336   added 5 changesets with 0 changes to 0 files (+1 heads)
       
   337 
       
   338 Test chaining path:// definition
       
   339 --------------------------------
       
   340 
       
   341 This is currently unsupported, but feel free to implement the necessary
       
   342 dependency detection.
       
   343 
       
   344   $ cat << EOF >> .hg/hgrc
       
   345   > chain_path=path://other_default
       
   346   > EOF
       
   347 
       
   348   $ hg id
       
   349   000000000000
       
   350   $ hg path
       
   351   abort: cannot use `path://other_default`, "other_default" is also define as a `path://`
       
   352   [255]
       
   353   $ hg pull chain_path
       
   354   abort: cannot use `path://other_default`, "other_default" is also define as a `path://`
       
   355   [255]
       
   356 
       
   357 Doing an actual circle should always be an issue
       
   358 
       
   359   $ cat << EOF >> .hg/hgrc
       
   360   > rock=path://cissors
       
   361   > cissors=path://paper
       
   362   > paper=://rock
       
   363   > EOF
       
   364 
       
   365   $ hg id
       
   366   000000000000
       
   367   $ hg path
       
   368   abort: cannot use `path://other_default`, "other_default" is also define as a `path://`
       
   369   [255]
       
   370   $ hg pull chain_path
       
   371   abort: cannot use `path://other_default`, "other_default" is also define as a `path://`
       
   372   [255]