tests/test-diff-unified
changeset 7436 07faba78cf5a
parent 6467 65029a3aafc2
child 7440 d2a917b27152
equal deleted inserted replaced
7435:5e13df32fb74 7436:07faba78cf5a
    42 hg diff --nodates -U 1
    42 hg diff --nodates -U 1
    43 
    43 
    44 echo '% invalid diff.unified'
    44 echo '% invalid diff.unified'
    45 hg --config diff.unified=foo diff --nodates
    45 hg --config diff.unified=foo diff --nodates
    46 
    46 
       
    47 echo % test off-by-one error with diff -p
       
    48 hg init diffp
       
    49 cd diffp
       
    50 echo a > a
       
    51 hg ci -Ama
       
    52 rm a
       
    53 echo b > a
       
    54 echo a >> a
       
    55 echo c >> a
       
    56 hg diff -U0 -p
       
    57 
    47 exit 0
    58 exit 0
    48 
       
    49