equal
deleted
inserted
replaced
|
1 http://mercurial.selenic.com/bts/issue352 |
|
2 |
|
3 $ "$TESTDIR/hghave" eol-in-paths || exit 80 |
|
4 |
|
5 test issue352 |
|
6 |
|
7 $ hg init foo |
|
8 $ cd foo |
|
9 $ A=`printf 'he\rllo'` |
|
10 $ echo foo > "$A" |
|
11 $ hg add |
|
12 adding he |
|
13 llo |
|
14 abort: '\n' and '\r' disallowed in filenames: 'he\rllo' |
|
15 [255] |
|
16 $ hg ci -A -m m |
|
17 adding he |
|
18 llo |
|
19 abort: '\n' and '\r' disallowed in filenames: 'he\rllo' |
|
20 [255] |
|
21 $ rm "$A" |
|
22 $ echo foo > "hell |
|
23 > o" |
|
24 $ hg add |
|
25 adding hell |
|
26 o |
|
27 abort: '\n' and '\r' disallowed in filenames: 'hell\no' |
|
28 [255] |
|
29 $ hg ci -A -m m |
|
30 adding hell |
|
31 o |
|
32 abort: '\n' and '\r' disallowed in filenames: 'hell\no' |
|
33 [255] |
|
34 $ echo foo > "$A" |
|
35 $ hg debugwalk |
|
36 f he |
|
37 llo he |
|
38 llo |
|
39 f hell |
|
40 o hell |
|
41 o |
|
42 |
|
43 http://mercurial.selenic.com/bts/issue2036 |
|
44 |
|
45 $ cd .. |
|
46 |
|
47 test issue2039 |
|
48 |
|
49 $ hg init bar |
|
50 $ cd bar |
|
51 $ echo "[extensions]" >> $HGRCPATH |
|
52 $ echo "color=" >> $HGRCPATH |
|
53 $ A=`printf 'foo\nbar'` |
|
54 $ B=`printf 'foo\nbar.baz'` |
|
55 $ touch "$A" |
|
56 $ touch "$B" |
|
57 $ hg status --color=always |
|
58 [0;35;1;4m? foo[0m |
|
59 [0;35;1;4mbar[0m |
|
60 [0;35;1;4m? foo[0m |
|
61 [0;35;1;4mbar.baz[0m |