##// END OF EJS Templates
update tests after changing archival code....
Vadim Gelfer -
r2114:98cc126f default
parent child Browse files
Show More
@@ -36,3 +36,18 unzip -t archive.zip | sed "s/$QTIP/TIP/
36
36
37 kill `cat hg.pid`
37 kill `cat hg.pid`
38 sleep 1 # wait for server to scream and die
38 sleep 1 # wait for server to scream and die
39
40 hg archive -t tar test.tar
41 tar tf test.tar
42
43 hg archive -t tbz2 -X baz test.tar.bz2
44 bunzip2 -dc test.tar.bz2 | tar tf -
45
46 hg archive -t tgz -p %b-%h test-%h.tar.gz
47 gzip -dc test-$QTIP.tar.gz | tar tf - | sed "s/$QTIP/TIP/"
48
49 hg archive -t zip -p /illegal test.zip
50 hg archive -t zip -p very/../bad test.zip
51
52 hg archive -t zip -r 2 test.zip
53 unzip -t test.zip
@@ -1,14 +1,35
1 adding foo
1 adding foo
2 adding bar
2 adding bar
3 adding baz/bletch
3 adding baz/bletch
4 test-archive-TIP/.hg_archival.txt
4 test-archive-TIP/bar
5 test-archive-TIP/bar
5 test-archive-TIP/baz/bletch
6 test-archive-TIP/baz/bletch
6 test-archive-TIP/foo
7 test-archive-TIP/foo
8 test-archive-TIP/.hg_archival.txt
7 test-archive-TIP/bar
9 test-archive-TIP/bar
8 test-archive-TIP/baz/bletch
10 test-archive-TIP/baz/bletch
9 test-archive-TIP/foo
11 test-archive-TIP/foo
10 Archive: archive.zip
12 Archive: archive.zip
13 testing: test-archive-TIP/.hg_archival.txt OK
11 testing: test-archive-TIP/bar OK
14 testing: test-archive-TIP/bar OK
12 testing: test-archive-TIP/baz/bletch OK
15 testing: test-archive-TIP/baz/bletch OK
13 testing: test-archive-TIP/foo OK
16 testing: test-archive-TIP/foo OK
14 No errors detected in compressed data of archive.zip.
17 No errors detected in compressed data of archive.zip.
18 test/.hg_archival.txt
19 test/bar
20 test/baz/bletch
21 test/foo
22 test/.hg_archival.txt
23 test/bar
24 test/foo
25 test-TIP/.hg_archival.txt
26 test-TIP/bar
27 test-TIP/baz/bletch
28 test-TIP/foo
29 abort: archive prefix contains illegal components
30 Archive: test.zip
31 testing: test/.hg_archival.txt OK
32 testing: test/bar OK
33 testing: test/baz/bletch OK
34 testing: test/foo OK
35 No errors detected in compressed data of test.zip.
@@ -41,6 +41,7 list of commands (use "hg help -v" to sh
41 add add the specified files on the next commit
41 add add the specified files on the next commit
42 addremove add all new files, delete all missing files
42 addremove add all new files, delete all missing files
43 annotate show changeset information per file line
43 annotate show changeset information per file line
44 archive create unversioned archive of a repository revision
44 bundle create a changegroup file
45 bundle create a changegroup file
45 cat output the latest or given revisions of files
46 cat output the latest or given revisions of files
46 clone make a copy of an existing repository
47 clone make a copy of an existing repository
@@ -83,6 +84,7 list of commands (use "hg help -v" to sh
83 add add the specified files on the next commit
84 add add the specified files on the next commit
84 addremove add all new files, delete all missing files
85 addremove add all new files, delete all missing files
85 annotate show changeset information per file line
86 annotate show changeset information per file line
87 archive create unversioned archive of a repository revision
86 bundle create a changegroup file
88 bundle create a changegroup file
87 cat output the latest or given revisions of files
89 cat output the latest or given revisions of files
88 clone make a copy of an existing repository
90 clone make a copy of an existing repository
General Comments 0
You need to be logged in to leave comments. Login now