comparison tests/test-amend-patch.t @ 6040:29bc269bcc96

tests: source common.sh in more tests
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 20 Sep 2021 20:28:49 +0300
parents 65d4e47d7f26
children 6b7ef731141b
comparison
equal deleted inserted replaced
6039:51249e4e9025 6040:29bc269bcc96
1 ** Test for the `--patch` flag for `hg amend` command ** 1 ** Test for the `--patch` flag for `hg amend` command **
2 2
3 Setup 3 Setup
4
5 $ . $TESTDIR/testlib/common.sh
4 6
5 $ cat >> $HGRCPATH << EOF 7 $ cat >> $HGRCPATH << EOF
6 > [alias] 8 > [alias]
7 > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" 9 > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}"
8 > [diff] 10 > [diff]
9 > git = 1 11 > git = 1
10 > [extensions] 12 > [extensions]
11 > EOF 13 > evolve =
12 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH 14 > EOF
13 15
14 Reposetup 16 Reposetup
15 17
16 $ hg init repo 18 $ hg init repo
17 $ cd repo 19 $ cd repo