[PATCH 1 of 2 V4] tag: test tagging an empty repo

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Dec 14 11:49:37 CST 2010


# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1292309690 21600
# Node ID 59950753e03c594e3781842bd20b29a4ba13385a
# Parent  d089bbb33cb93fcef524d3ed545901961b1bd008
tag: test tagging an empty repo

A simple test of existing behavior to ensure that behavior is preserved
through the fix for issue2552.

diff --git a/tests/test-tag-empty.t b/tests/test-tag-empty.t
new file mode 100644
--- /dev/null
+++ b/tests/test-tag-empty.t
@@ -0,0 +1,6 @@
+tagging empty repo
+
+  $ hg init repo-tag-empty
+  $ cd repo-tag-empty
+  $ hg tag nullrev
+  $ cd ..


More information about the Mercurial-devel mailing list