tests/test-commit.t
branchstable
changeset 13447 931a72e00efa
parent 13062 e1002cf9fe54
child 13899 a7cd0eee396b
--- a/tests/test-commit.t	Thu Feb 10 09:03:06 2011 +0100
+++ b/tests/test-commit.t	Fri Feb 18 20:25:25 2011 +0100
@@ -92,6 +92,15 @@
   $ hg commit -d '' -m commit-no-date
   $ hg tip --template '{date|isodate}\n' | grep '1970'
   [1]
+
+Make sure we do not obscure unknown requires file entries (issue2649)
+
+  $ echo foo >> foo
+  $ echo fake >> .hg/requires
+  $ hg commit -m bla
+  abort: requirement 'fake' not supported!
+  [255]
+
   $ cd ..