changeset 4292 | b90e323a4781 |
parent 4181 | 08d31e43592a |
child 5091 | 2184378b20b5 |
4291:35b2e02367a5 | 4292:b90e323a4781 |
---|---|
1 #!/bin/bash |
1 #!/bin/sh |
2 # http://www.selenic.com/mercurial/bts/issue352 |
2 # http://www.selenic.com/mercurial/bts/issue352 |
3 |
3 |
4 hg init foo |
4 hg init foo |
5 cd foo |
5 cd foo |
6 |
6 |
7 A=`echo -e -n 'he\rllo'` |
7 A=`printf 'he\rllo'` |
8 |
8 |
9 echo foo > "$A" |
9 echo foo > "$A" |
10 hg add |
10 hg add |
11 hg ci -A -m m |
11 hg ci -A -m m |
12 rm "$A" |
12 rm "$A" |