equal
deleted
inserted
replaced
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 |
|