diff tests/test-annotate.t @ 13697:eaee75036725

annotate: catch nonexistent files using match.bad callback (issue1590)
author Matt Mackall <mpm@selenic.com>
date Sat, 19 Mar 2011 01:34:49 -0500
parents 4fee1fd3de9a
children bf93e78f2638
line wrap: on
line diff
--- a/tests/test-annotate.t	Fri Mar 18 13:01:18 2011 -0500
+++ b/tests/test-annotate.t	Sat Mar 19 01:34:49 2011 -0500
@@ -228,3 +228,8 @@
   $ hg annotate --follow foo
   foo: foo
 
+missing file
+
+  $ hg ann nosuchfile
+  abort: nosuchfile: no such file in rev c8abddb41a00
+  [255]