diff tests/test-archive @ 4863:6dc0094c0827

archive: abort on empty repository. Fixes #624.
author Brendan Cully <brendan@kublai.com>
date Tue, 10 Jul 2007 10:06:24 -0700
parents beb774707c52
children 192cd95c2ba8
line wrap: on
line diff
--- a/tests/test-archive	Tue Jul 10 09:52:32 2007 -0700
+++ b/tests/test-archive	Tue Jul 10 10:06:24 2007 -0700
@@ -63,3 +63,9 @@
 unzip -t test.zip
 
 hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/"
+
+echo '% empty repo'
+hg init ../empty
+cd ../empty
+hg archive ../test-empty
+exit 0
\ No newline at end of file