tests/test-diffdir
changeset 808 8f5637f0a0c0
parent 774 6592c4f5cd4f
parent 800 ec85f9e6f3b1
child 814 0902ffece4b4
equal deleted inserted replaced
788:64d2a558c943 808:8f5637f0a0c0
     5 hg add a
     5 hg add a
     6 hg ci -m "a" -d "0 0"
     6 hg ci -m "a" -d "0 0"
     7 
     7 
     8 echo 123 > b
     8 echo 123 > b
     9 hg add b
     9 hg add b
    10 hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"
    10 hg diff | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/"
    11 
    11 
    12 hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"
    12 hg diff -r tip | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/"