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
+++ b/tests/test-archive
@@ -67,3 +67,9 @@ hg archive -r 0 -t tar rev-%r.tar
 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