summaryrefslogtreecommitdiff
path: root/tests/hg-single-commit.teardown
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-05 16:24:25 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-05 18:06:36 +0100
commitcd67da78140046ac90877194e3f818cfeb252f60 (patch)
tree90b1c97c2be3447b1433fc7268e1ba7a66f01f03 /tests/hg-single-commit.teardown
parent9d8c35bfa8a717c656a78c636c5a4600e5837ae7 (diff)
downloadlorry-cd67da78140046ac90877194e3f818cfeb252f60.tar.gz
tests: Add a test case for incremental conversion from Mercurial
Also add a teardown script for hg-single-commit so these two don't get in each other's way.
Diffstat (limited to 'tests/hg-single-commit.teardown')
-rwxr-xr-xtests/hg-single-commit.teardown21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/hg-single-commit.teardown b/tests/hg-single-commit.teardown
new file mode 100755
index 0000000..5a6aa57
--- /dev/null
+++ b/tests/hg-single-commit.teardown
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# Tests converting a simple hg repository to git.
+#
+# Copyright (C) 2020 Codethink Limited
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
+rm -rf "$DATADIR/hg-test-repo" "$DATADIR/hg-test-repo.lorry" "$DATADIR/work-dir"