diff -r 5572f688e0a9 -r 88d1b59f6906 tests/test-archive.t --- a/tests/test-archive.t Sat Feb 09 14:22:52 2013 -0500 +++ b/tests/test-archive.t Thu Mar 21 22:09:15 2013 +0100 @@ -289,6 +289,16 @@ *-----* (glob) \s*147\s+2 files (re) +show an error when a provided pattern matches no files + + $ hg archive -I file_that_does_not_exist.foo ../empty.zip + abort: no files match the archive pattern + [255] + + $ hg archive -X * ../empty.zip + abort: no files match the archive pattern + [255] + $ cd .. issue3600: check whether "hg archive" can create archive files which