[PATCH 1 of 2] tests: add tests for issue2307

Benjamin Pollack benjamin at bitquabit.com
Tue Jul 27 13:43:34 CDT 2010


# HG changeset patch
# User Benjamin Pollack <benjamin at bitquabit.com>
# Date 1280256008 14400
# Branch stable
# Node ID 4689da8bc47a9febb2891f4316f0c575dde97333
# Parent  5ed6802e6bcb135c108fc6530102d3c281668d77
tests: add tests for issue2307

diff --git a/tests/test-tag-issue2307 b/tests/test-tag-issue2307
new file mode 100755
--- /dev/null
+++ b/tests/test-tag-issue2307
@@ -0,0 +1,4 @@
+#!/bin/sh
+hg init a
+hg -R a tag ' '
+exit 0
diff --git a/tests/test-tag-issue2307.out b/tests/test-tag-issue2307.out
new file mode 100644
--- /dev/null
+++ b/tests/test-tag-issue2307.out
@@ -0,0 +1,1 @@
+abort: tag names cannot consist entirely of whitespace


More information about the Mercurial-devel mailing list