Mercurial > public > mercurial-scm > evolve
comparison docs/tutorial/testlib/push-checkheads-util.sh @ 3376:aad37ffd7d58
doc: import the training support
Import the training support which was stored in a private-repository before.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 08 Jan 2018 11:46:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3375:1cb549cd6236 | 3376:aad37ffd7d58 |
---|---|
1 # setup config and various utility to test new heads checks on push | |
2 | |
3 . $TESTDIR/testlib/common.sh | |
4 | |
5 cat >> $HGRCPATH <<EOF | |
6 [ui] | |
7 # simpler log output | |
8 logtemplate ="{node|short} ({phase}): {desc}\n" | |
9 | |
10 [phases] | |
11 # non publishing server | |
12 publish=False | |
13 | |
14 [extensions] | |
15 # we need to strip some changeset for some test cases | |
16 strip= | |
17 evolve= | |
18 EOF | |
19 | |
20 setuprepos() { | |
21 echo creating basic server and client repo | |
22 hg init server | |
23 cd server | |
24 mkcommit root | |
25 hg phase --public . | |
26 mkcommit A0 | |
27 cd .. | |
28 hg clone server client | |
29 } |