tests/test-hgrc.t
changeset 44124 d56a2d6f34f0
parent 43919 6b6872822b32
child 44244 ef11dfc56674
equal deleted inserted replaced
44123:52f8b07ad2f9 44124:d56a2d6f34f0
   256   > EOF
   256   > EOF
   257   $ hg showconfig --debug paths
   257   $ hg showconfig --debug paths
   258   plain: True
   258   plain: True
   259   read config from: $TESTTMP/hgrc
   259   read config from: $TESTTMP/hgrc
   260   $TESTTMP/hgrc:17: paths.foo=$TESTTMP/bar
   260   $TESTTMP/hgrc:17: paths.foo=$TESTTMP/bar
       
   261 
       
   262 Test we can skip the user configuration
       
   263 
       
   264   $ cat >> .hg/hgrc <<EOF
       
   265   > [paths]
       
   266   > elephant = babar
       
   267   > EOF
       
   268   $ hg path
       
   269   elephant = $TESTTMP/babar
       
   270   foo = $TESTTMP/bar
       
   271   $ HGRCSKIPREPO=1 hg path
       
   272   foo = $TESTTMP/bar
       
   273