diff tests/test-archive @ 4867:0e2d0a78f81a

archive: make the %r escape work.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 11 Jul 2007 19:56:16 -0300
parents beb774707c52
children 192cd95c2ba8 a49f2a4d5ff7
line wrap: on
line diff
--- a/tests/test-archive
+++ b/tests/test-archive
@@ -63,3 +63,7 @@ hg archive -t zip -r 2 test.zip
 unzip -t test.zip
 
 hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/"
+hg archive -r 0 -t tar rev-%r.tar
+if [ -f rev-0.tar ]; then
+    echo 'rev-0.tar created'
+fi