Mercurial > hg
comparison tests/test-archive @ 6019:b70a530bdb93
cleanly abort on unknown archive type (issue966)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 05 Feb 2008 15:54:42 +0100 |
parents | e3a0c092b4e2 |
children | 20b05618b3e2 |
comparison
equal
deleted
inserted
replaced
6017:b29b75ce9645 | 6019:b70a530bdb93 |
---|---|
67 hg archive -r 0 -t tar rev-%r.tar | 67 hg archive -r 0 -t tar rev-%r.tar |
68 if [ -f rev-0.tar ]; then | 68 if [ -f rev-0.tar ]; then |
69 echo 'rev-0.tar created' | 69 echo 'rev-0.tar created' |
70 fi | 70 fi |
71 | 71 |
72 hg archive -t bogus test.bogus | |
73 | |
72 echo '% empty repo' | 74 echo '% empty repo' |
73 hg init ../empty | 75 hg init ../empty |
74 cd ../empty | 76 cd ../empty |
75 hg archive ../test-empty | 77 hg archive ../test-empty |
76 exit 0 | 78 exit 0 |