tests/test-chg.t
changeset 29343 e095b9e753f7
parent 29275 e53f961ac75f
child 30625 937c52f06709
equal deleted inserted replaced
29342:c27dc3c31222 29343:e095b9e753f7
    12   $ chg status
    12   $ chg status
    13   $ echo '=brokenconfig' >> $HGRCPATH
    13   $ echo '=brokenconfig' >> $HGRCPATH
    14   $ chg status
    14   $ chg status
    15   hg: parse error at * (glob)
    15   hg: parse error at * (glob)
    16   [255]
    16   [255]
    17 
       
    18 alias having an environment variable and set to use pager
       
    19 
       
    20   $ rm $HGRCPATH
       
    21   $ cat >> $HGRCPATH <<'EOF'
       
    22   > [ui]
       
    23   > formatted = yes
       
    24   > [extensions]
       
    25   > pager =
       
    26   > [pager]
       
    27   > pager = sed -e 's/^/P/'
       
    28   > attend = printa
       
    29   > [alias]
       
    30   > printa = log -T "$A\n" -r 0
       
    31   > EOF
       
    32 
       
    33   $ A=1 chg printa
       
    34   P1
       
    35   $ A=2 chg printa
       
    36   P2
       
    37 
    17 
    38   $ cp $HGRCPATH.orig $HGRCPATH
    18   $ cp $HGRCPATH.orig $HGRCPATH
    39   $ cd ..
    19   $ cd ..
    40 
    20 
    41 server lifecycle
    21 server lifecycle