equal
deleted
inserted
replaced
3 . $TESTDIR/testlib/common.sh |
3 . $TESTDIR/testlib/common.sh |
4 |
4 |
5 cat >> $HGRCPATH <<EOF |
5 cat >> $HGRCPATH <<EOF |
6 [ui] |
6 [ui] |
7 # simpler log output |
7 # simpler log output |
8 logtemplate ="{node|short} ({phase}): {desc}\n" |
8 logtemplate ="{node|short} ({phase}){if(topic, "[{topic}]")}: {desc}\n" |
9 |
9 |
10 [phases] |
10 [phases] |
11 # non publishing server |
11 # non publishing server |
12 publish=False |
12 publish=False |
13 |
13 |
24 mkcommit root |
24 mkcommit root |
25 hg phase --public . |
25 hg phase --public . |
26 mkcommit A0 |
26 mkcommit A0 |
27 cd .. |
27 cd .. |
28 hg clone server client |
28 hg clone server client |
|
29 |
|
30 if [ "$1" = "single-head" ]; then |
|
31 echo >> "server/.hg/hgrc" "[experimental]" |
|
32 echo >> "server/.hg/hgrc" "# enforce a single name per branch" |
|
33 echo >> "server/.hg/hgrc" "single-head-per-branch = yes" |
|
34 |
|
35 echo >> "client/.hg/hgrc" "[ui]" |
|
36 echo >> "client/.hg/hgrc" "# simpler log output" |
|
37 echo >> "client/.hg/hgrc" 'logtemplate = "{node|short} [{branch}{if(topic, ":{topic}")}] ({phase}): {desc}\\n"' |
|
38 fi |
29 } |
39 } |