tests/test-pager.t
changeset 32940 75be14993fda
parent 32541 3b569745af6c
child 33097 fce4ed2912bb
equal deleted inserted replaced
32939:cad62cb3c84c 32940:75be14993fda
    14   $ cat >> $HGRCPATH <<EOF
    14   $ cat >> $HGRCPATH <<EOF
    15   > [ui]
    15   > [ui]
    16   > formatted = yes
    16   > formatted = yes
    17   > color = no
    17   > color = no
    18   > [pager]
    18   > [pager]
    19   > pager = python $TESTTMP/fakepager.py
    19   > pager = $PYTHON $TESTTMP/fakepager.py
    20   > EOF
    20   > EOF
    21 
    21 
    22   $ hg init repo
    22   $ hg init repo
    23   $ cd repo
    23   $ cd repo
    24   $ echo a >> a
    24   $ echo a >> a
    25   $ hg add a
    25   $ hg add a
    26   $ hg ci -m 'add a'
    26   $ hg ci -m 'add a'
    27   $ for x in `python $TESTDIR/seq.py 1 10`; do
    27   $ for x in `$PYTHON $TESTDIR/seq.py 1 10`; do
    28   >   echo a $x >> a
    28   >   echo a $x >> a
    29   >   hg ci -m "modify a $x"
    29   >   hg ci -m "modify a $x"
    30   > done
    30   > done
    31 
    31 
    32 By default diff and log are paged, but id is not:
    32 By default diff and log are paged, but id is not: