diff tests/test-commit.t @ 14483:973959fbe8ec

readrequires: provide easier to understand error message NEW: $ hg id abort: unknown repository format: requires feature 'foo' (upgrade Mercurial)! OLD: $ hg id abort: requirement 'foo' not supported!
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 31 May 2011 19:16:25 +0200
parents a7cd0eee396b
children 72e4fcb43227
line wrap: on
line diff
--- a/tests/test-commit.t	Tue May 31 19:16:18 2011 +0200
+++ b/tests/test-commit.t	Tue May 31 19:16:25 2011 +0200
@@ -98,7 +98,7 @@
   $ echo foo >> foo
   $ echo fake >> .hg/requires
   $ hg commit -m bla
-  abort: requirement 'fake' not supported!
+  abort: unknown repository format: requires feature 'fake' (upgrade Mercurial)!
   [255]
 
   $ cd ..