tests/test-extdiff
changeset 2906 453097750fbf
child 2912 8fd6925ae32f
equal deleted inserted replaced
2905:790fd342b6c7 2906:453097750fbf
       
     1 #!/bin/sh
       
     2 
       
     3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
       
     4 echo "[extensions]" >> $HGTMP/.hgrc
       
     5 echo "extdiff=" >> $HGTMP/.hgrc
       
     6 
       
     7 hg init a
       
     8 cd a
       
     9 echo a > a
       
    10 hg add
       
    11 hg extdiff -o -Nr
       
    12 
       
    13 echo "[extdiff]" >> $HGTMP/.hgrc
       
    14 echo "cmd.falabala=echo" >> $HGTMP/.hgrc
       
    15 echo "opts.falabala=diffing" >> $HGTMP/.hgrc
       
    16 
       
    17 hg falabala
       
    18 
       
    19 hg help falabala
       
    20 
       
    21 hg ci -d '0 0' -mtest1
       
    22 
       
    23 echo b >> a
       
    24 hg ci -d '1 0' -mtest2
       
    25 
       
    26 hg falabala -r 0:1