Mercurial > evolve
annotate tests/testlib/topic_setup.sh @ 5906:55b7e6523559 stable
Added tag 10.3.1 for changeset 93dc3cb68842
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 25 Apr 2021 15:32:51 +0200 |
parents | 044ce00dfa88 |
children |
rev | line source |
---|---|
1839
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 #!/bin/sh |
2828
fa2deeb5dd03
test: setup python path for topic tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2045
diff
changeset
|
2 . $TESTDIR/testlib/pythonpath.sh |
1839
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 # This file holds logic that is used in many tests. |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 # It can be called in a test like this: |
2045
db617700d318
tests: move "test setup" script into a 'testlib' directory
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1901
diff
changeset
|
6 # $ . "$TESTDIR/testlib/topic_setup.sh" |
1839
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
7 |
1840
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
8 # Enable obsolete markers and enable extensions |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
9 cat >> $HGRCPATH << EOF |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
10 [experimental] |
5533
044ce00dfa88
tests: use the modern config setting to enable evolution in topic tests
Matt Harbison <matt_harbison@yahoo.com>
parents:
2828
diff
changeset
|
11 evolution.createmarkers=true |
044ce00dfa88
tests: use the modern config setting to enable evolution in topic tests
Matt Harbison <matt_harbison@yahoo.com>
parents:
2828
diff
changeset
|
12 evolution.exchange=true |
1840
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
13 |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
14 [extensions] |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
15 rebase= |
2828
fa2deeb5dd03
test: setup python path for topic tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2045
diff
changeset
|
16 topic= |
1840
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
17 EOF |