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

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Dec 14 01:00:31 CST 2010


# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1292309690 21600
# Node ID 9ad83ab524cfd48bec0b8783182af9bf68ff5ee3
# Parent  372602378a01e4396f77f3af84ce1993ee24dd00
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