tests/test-hgrc.t
changeset 12697 14853ca7e11b
parent 12640 6cc4b14fb76b
child 13572 1bb2a56a9d73
equal deleted inserted replaced
12696:ef969e58a394 12697:14853ca7e11b
    73 
    73 
    74   $ unset FAKEUSER
    74   $ unset FAKEUSER
    75   $ HGUSER=$olduser
    75   $ HGUSER=$olduser
    76   $ export HGUSER
    76   $ export HGUSER
    77 
    77 
       
    78 showconfig with multiple arguments
       
    79 
       
    80   $ echo "[alias]" > $HGRCPATH
       
    81   $ echo "log = log -g" >> $HGRCPATH
       
    82   $ echo "[defaults]" >> $HGRCPATH
       
    83   $ echo "identify = -n" >> $HGRCPATH
       
    84   $ hg showconfig alias defaults
       
    85   alias.log=log -g
       
    86   defaults.identify=-n
       
    87   $ hg showconfig alias defaults.identify
       
    88   abort: only one config item permitted
       
    89   [255]
       
    90   $ hg showconfig alias.log defaults.identify
       
    91   abort: only one config item permitted
       
    92   [255]
       
    93 
    78 HGPLAIN
    94 HGPLAIN
    79 
    95 
    80   $ cd ..
    96   $ cd ..
    81   $ p=`pwd`
    97   $ p=`pwd`
    82   $ echo "[ui]" > $HGRCPATH
    98   $ echo "[ui]" > $HGRCPATH