##// END OF EJS Templates
test-archive: silence stupid messages from GNU tar...
Matt Mackall -
r8145:0c2ba484 default
parent child Browse files
Show More
@@ -58,8 +58,8 b" f = urllib2.urlopen('http://127.0.0.1:%s"
58 58 % (os.environ['HGPORT'], node, archive))
59 59 sys.stdout.write(f.read())
60 60 EOF
61 http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - | sed "s/$QTIP/TIP/"
62 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - | sed "s/$QTIP/TIP/"
61 http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
62 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
63 63 http_proxy= python getarchive.py "$TIP" zip > archive.zip
64 64 unzip -t archive.zip | sed "s/$QTIP/TIP/"
65 65
@@ -69,10 +69,10 b' hg archive -t tar test.tar'
69 69 tar tf test.tar
70 70
71 71 hg archive -t tbz2 -X baz test.tar.bz2
72 bunzip2 -dc test.tar.bz2 | tar tf -
72 bunzip2 -dc test.tar.bz2 | tar tf - 2>/dev/null
73 73
74 74 hg archive -t tgz -p %b-%h test-%h.tar.gz
75 gzip -dc test-$QTIP.tar.gz | tar tf - | sed "s/$QTIP/TIP/"
75 gzip -dc test-$QTIP.tar.gz | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
76 76
77 77 cat > md5comp.py <<EOF
78 78 from mercurial.util import md5
@@ -98,7 +98,7 b' hg archive -t zip -p very/../bad test.zi'
98 98 hg archive --config ui.archivemeta=false -t zip -r 2 test.zip
99 99 unzip -t test.zip
100 100
101 hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/"
101 hg archive -t tar - | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
102 102
103 103 hg archive -r 0 -t tar rev-%r.tar
104 104 if [ -f rev-0.tar ]; then
General Comments 0
You need to be logged in to leave comments. Login now