Mercurial > evolve
comparison tests/test-obsolete.t @ 5912:51ee9809d90d
tests: remove unnecessary config from test-obsolete.t
mkcommit() is slightly different from what we have in common.sh, so it's left
as is.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 09 May 2021 20:02:01 +0800 |
parents | 61d2f1cf90f0 |
children | c0921b5277a0 5e14782908e4 |
comparison
equal
deleted
inserted
replaced
5911:55589cb47581 | 5912:51ee9809d90d |
---|---|
1 | 1 |
2 $ . $TESTDIR/testlib/common.sh | 2 $ . $TESTDIR/testlib/common.sh |
3 $ cat >> $HGRCPATH <<EOF | 3 $ cat >> $HGRCPATH <<EOF |
4 > [web] | |
5 > push_ssl = false | |
6 > allow_push = * | |
7 > [phases] | 4 > [phases] |
8 > publish=False | 5 > publish = False |
9 > [alias] | |
10 > debugobsolete=debugobsolete -d '0 0' | |
11 > [extensions] | 6 > [extensions] |
12 > hgext.rebase= | 7 > rebase = |
8 > evolve = | |
13 > EOF | 9 > EOF |
14 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH | |
15 $ mkcommit() { | 10 $ mkcommit() { |
16 > echo "$1" > "$1" | 11 > echo "$1" > "$1" |
17 > hg add "$1" | 12 > hg add "$1" |
18 > hg ci -m "add $1" | 13 > hg ci -m "add $1" |
19 > } | 14 > } |