tests/test-eolfilename
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 #!/bin/sh
       
     2 # http://mercurial.selenic.com/bts/issue352
       
     3 
       
     4 "$TESTDIR/hghave" eol-in-paths || exit 80
       
     5 
       
     6 echo % test issue352
       
     7 hg init foo
       
     8 cd foo
       
     9 
       
    10 A=`printf 'he\rllo'`
       
    11 
       
    12 echo foo > "$A"
       
    13 hg add
       
    14 hg ci -A -m m
       
    15 rm "$A"
       
    16 
       
    17 echo foo > "hell
       
    18 o"
       
    19 hg add
       
    20 hg ci -A -m m
       
    21 
       
    22 echo foo > "$A"
       
    23 hg debugwalk
       
    24 
       
    25 # http://mercurial.selenic.com/bts/issue2036
       
    26 cd ..
       
    27 echo % test issue2039
       
    28 
       
    29 hg init bar
       
    30 cd bar
       
    31 
       
    32 echo "[extensions]" >> $HGRCPATH
       
    33 echo "color=" >> $HGRCPATH
       
    34 
       
    35 A=`printf 'foo\nbar'`
       
    36 B=`printf 'foo\nbar.baz'`
       
    37 
       
    38 touch "$A"
       
    39 touch "$B"
       
    40 
       
    41 hg status --color=always
       
    42 
       
    43 exit 0