changeset 12301 | 3a082866422a |
parent 12300 | ca31b0b2ac16 |
child 12302 | 6ad36bca3a8a |
12300:ca31b0b2ac16 | 12301:3a082866422a |
---|---|
1 #!/bin/sh |
|
2 # |
|
3 |
|
4 hg init foo |
|
5 cd foo |
|
6 touch a |
|
7 |
|
8 |
|
9 unset HGUSER |
|
10 echo "[ui]" >> .hg/hgrc |
|
11 echo "username= foo" >> .hg/hgrc |
|
12 echo " bar1" >> .hg/hgrc |
|
13 |
|
14 hg ci -Am m |
|
15 |
|
16 rm .hg/hgrc |
|
17 |
|
18 HGUSER=`(echo foo; echo bar2)` hg ci -Am m |
|
19 |
|
20 hg ci -Am m -u "`(echo foo; echo bar3)`" |
|
21 |
|
22 true |