author | Augie Fackler <raf@durin42.com> |
Mon, 14 Mar 2016 20:17:18 -0400 | |
changeset 1883 | ebf146c77709 |
parent 1840 | 2321fd2ed56e |
child 1901 | 85390446f8c1 |
permissions | -rw-r--r-- |
1839
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 |
#!/bin/sh |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
2 |
|
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 |
# This file holds logic that is used in many tests. |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 |
# It can be called in a test like this: |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 |
# $ . "$TESTDIR/testlib" |
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
6 |
|
1840
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
7 |
# Enable obsolete markers and enable extensions |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
8 |
cat >> $HGRCPATH << EOF |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
9 |
[experimental] |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
10 |
evolution=createmarkers,exchange |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
11 |
|
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
12 |
[extensions] |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
13 |
rebase= |
2321fd2ed56e
testlib: enable rebase and obsolete for easier testing
Augie Fackler <augie@google.com>
parents:
1839
diff
changeset
|
14 |
EOF |
1839
1bc5e62fc0c7
Initial dumb version of topics.
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
15 |
echo "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH |