Show More
@@ -1,14 +1,10 b'' | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | mkdir t | |
|
4 | cd t | |
|
5 | hg init | |
|
6 | echo "invalid" > .hg/hgrc | |
|
7 | hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:" | |
|
3 | echo "invalid" > $HGRCPATH | |
|
4 | hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" | |
|
5 | echo "" > $HGRCPATH | |
|
8 | 6 | |
|
9 |
# |
|
|
10 | ||
|
11 | cd .. | |
|
7 | # issue1199: escaping | |
|
12 | 8 | hg init "foo%bar" |
|
13 | 9 | hg clone "foo%bar" foobar |
|
14 | 10 | p=`pwd` |
@@ -16,9 +12,9 b' cd foobar' | |||
|
16 | 12 | cat .hg/hgrc |sed -e "s:$p:...:" |
|
17 | 13 | hg paths |sed -e "s:$p:...:" |
|
18 | 14 | hg showconfig |sed -e "s:$p:...:" |
|
15 | cd .. | |
|
19 | 16 | |
|
20 | 17 | # issue1829: wrong indentation |
|
21 | cd .. | |
|
22 | echo '[foo]' >> $HGRCPATH | |
|
18 | echo '[foo]' > $HGRCPATH | |
|
23 | 19 | echo ' x = y' >> $HGRCPATH |
|
24 | 20 | hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" |
@@ -1,13 +1,9 b'' | |||
|
1 |
hg: config error at |
|
|
1 | hg: config error at $HGRCPATH:1: 'invalid' | |
|
2 | 2 | updating to branch default |
|
3 | 3 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
4 | 4 | [paths] |
|
5 | 5 | default = .../foo%bar |
|
6 | 6 | default = .../foo%bar |
|
7 | 7 | bundle.mainreporoot=.../foobar |
|
8 | defaults.backout=-d "0 0" | |
|
9 | defaults.commit=-d "0 0" | |
|
10 | defaults.tag=-d "0 0" | |
|
11 | 8 | paths.default=.../foo%bar |
|
12 | ui.slash=True | |
|
13 | hg: config error at $HGRCPATH:8: ' x = y' | |
|
9 | hg: config error at $HGRCPATH:2: ' x = y' |
General Comments 0
You need to be logged in to leave comments.
Login now