comparison 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
comparison
equal deleted inserted replaced
4862:cba10652a901 4863:6dc0094c0827
61 61
62 hg archive -t zip -r 2 test.zip 62 hg archive -t zip -r 2 test.zip
63 unzip -t test.zip 63 unzip -t test.zip
64 64
65 hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/" 65 hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/"
66
67 echo '% empty repo'
68 hg init ../empty
69 cd ../empty
70 hg archive ../test-empty
71 exit 0