diff tests/test-archive @ 5061:a49f2a4d5ff7

archive: abort on empty repository. Fixes #624.
author Brendan Cully <brendan@kublai.com>
date Tue, 10 Jul 2007 10:06:24 -0700
parents 0e2d0a78f81a
children 0f594cc36aed
line wrap: on
line diff
--- a/tests/test-archive	Thu Aug 02 12:29:10 2007 -0500
+++ b/tests/test-archive	Tue Jul 10 10:06:24 2007 -0700
@@ -67,3 +67,9 @@
 if [ -f rev-0.tar ]; then
     echo 'rev-0.tar created'
 fi
+
+echo '% empty repo'
+hg init ../empty
+cd ../empty
+hg archive ../test-empty
+exit 0