equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 mkdir t |
3 echo "invalid" > $HGRCPATH |
4 cd t |
4 hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" |
5 hg init |
5 echo "" > $HGRCPATH |
6 echo "invalid" > .hg/hgrc |
|
7 hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:" |
|
8 |
6 |
9 #issue 1199, escaping |
7 # issue1199: escaping |
10 |
|
11 cd .. |
|
12 hg init "foo%bar" |
8 hg init "foo%bar" |
13 hg clone "foo%bar" foobar |
9 hg clone "foo%bar" foobar |
14 p=`pwd` |
10 p=`pwd` |
15 cd foobar |
11 cd foobar |
16 cat .hg/hgrc |sed -e "s:$p:...:" |
12 cat .hg/hgrc | sed -e "s:$p:...:" |
17 hg paths |sed -e "s:$p:...:" |
13 hg paths | sed -e "s:$p:...:" |
18 hg showconfig |sed -e "s:$p:...:" |
14 hg showconfig | sed -e "s:$p:...:" |
|
15 cd .. |
19 |
16 |
20 # issue1829: wrong indentation |
17 # issue1829: wrong indentation |
21 cd .. |
18 echo '[foo]' > $HGRCPATH |
22 echo '[foo]' >> $HGRCPATH |
|
23 echo ' x = y' >> $HGRCPATH |
19 echo ' x = y' >> $HGRCPATH |
24 hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" |
20 hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" |