diff tests/test-import.t @ 15327:67e92d29ecb5 stable

import: abort usefully if no patch name given
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 21 Oct 2011 11:10:43 -0500
parents 62dc0e7ab092
children 2b1ec74c961f
line wrap: on
line diff
--- a/tests/test-import.t	Fri Oct 21 14:15:58 2011 +0200
+++ b/tests/test-import.t	Fri Oct 21 11:10:43 2011 -0500
@@ -10,6 +10,11 @@
   $ echo line 2 >> a/a
   $ hg --cwd a ci -u someone -d '1 0' -m'second change'
 
+import with no args:
+
+  $ hg --cwd a import
+  abort: need at least one patch to import
+  [255]
 
 generate patches for the test