tests/test-identify.t
branchstable
changeset 13447 931a72e00efa
parent 12346 3b165c127690
child 13477 0fb2ff949790
--- a/tests/test-identify.t	Thu Feb 10 09:03:06 2011 +0100
+++ b/tests/test-identify.t	Fri Feb 18 20:25:25 2011 +0100
@@ -67,3 +67,16 @@
   $ hg id -t http://localhost:$HGPORT1/
   abort: can't query remote revision number, branch, or tags
   [255]
+
+Make sure we do not obscure unknown requires file entries (issue2649)
+
+  $ echo fake >> .hg/requires
+  $ hg id
+  abort: requirement 'fake' not supported!
+  [255]
+
+  $ cd ..
+  $ hg id test
+  abort: requirement 'fake' not supported!
+  [255]
+