tests/test-hgrc.t
changeset 48970 9987d14ad63f
parent 47847 cce9e7d2fb92
child 49619 6a3549a01c02
equal deleted inserted replaced
48969:0583d7f0fdff 48970:9987d14ad63f
    69   $ echo '  x = y' >> $HGRC
    69   $ echo '  x = y' >> $HGRC
    70   $ hg version
    70   $ hg version
    71   config error at $TESTTMP/hgrc:2: unexpected leading whitespace:   x = y
    71   config error at $TESTTMP/hgrc:2: unexpected leading whitespace:   x = y
    72   [255]
    72   [255]
    73 
    73 
    74   $ "$PYTHON" -c "from __future__ import print_function; print('[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n')" \
    74   $ "$PYTHON" -c "print('[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n')" \
    75   > > $HGRC
    75   > > $HGRC
    76   $ hg showconfig foo
    76   $ hg showconfig foo
    77   foo.bar=a\nb\nc\nde\nfg
    77   foo.bar=a\nb\nc\nde\nfg
    78   foo.baz=bif cb
    78   foo.baz=bif cb
    79 
    79