tests: flatten repo structure in test-commit.t
Let's move to parent directory before `hg init` repos, since they don't need to
be nested. It makes amend/strip messages that include full path to the backup
bundle shorter, for instance.
--- a/tests/test-commit.t Sat May 04 01:16:42 2019 -0400
+++ b/tests/test-commit.t Fri May 03 14:07:14 2019 +0800
@@ -708,6 +708,8 @@
abort: path contains illegal component: HG8B6C~2/hgrc
[255]
+ $ cd ..
+
# test that an unmodified commit template message aborts
$ hg init unmodified_commit_template
@@ -734,6 +736,8 @@
abort: commit message unchanged
[255]
+ $ cd ..
+
test that text below the --- >8 --- special string is ignored
$ cat <<'EOF' > $TESTTMP/lowercaseline.sh