diff tests/test-identify.t @ 21188:d36440d84328 stable

httppeer: reintroduce _abort that accidentally was removed in 167047ba3cfa Including the missing test coverage that would have caught it.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 23 Apr 2014 23:29:55 +0200
parents f8e531a3a77c
children 7a9cbb315d84
line wrap: on
line diff
--- a/tests/test-identify.t	Mon Apr 21 16:13:15 2014 -0700
+++ b/tests/test-identify.t	Wed Apr 23 23:29:55 2014 +0200
@@ -109,6 +109,12 @@
   $ hg id --bookmarks -r . http://localhost:$HGPORT1/
   Y Z
 
+test invalid lookup
+
+  $ hg id -r noNoNO http://localhost:$HGPORT1/
+  abort: unknown revision 'noNoNO'!
+  [255]
+
 Make sure we do not obscure unknown requires file entries (issue2649)
 
   $ echo fake >> .hg/requires