Show More
@@ -1,32 +1,38 b'' | |||
|
1 | #!/bin/sh | |
|
1 | $ "$TESTDIR/hghave" symlink || exit 80 | |
|
2 | ||
|
3 | $ origdir=`pwd` | |
|
2 | 4 | |
|
3 | "$TESTDIR/hghave" symlink || exit 80 | |
|
4 | ||
|
5 | origdir=`pwd` | |
|
5 | $ hg init repo | |
|
6 | $ cd repo | |
|
7 | $ ln -s nothing dangling | |
|
6 | 8 | |
|
7 | hg init repo | |
|
8 | cd repo | |
|
9 | ln -s nothing dangling | |
|
10 | # avoid tar warnings about old timestamp | |
|
11 | hg ci -d '2000-01-01 00:00:00 +0000' -qAm 'add symlink' | |
|
9 | avoid tar warnings about old timestamp | |
|
10 | ||
|
11 | $ hg ci -d '2000-01-01 00:00:00 +0000' -qAm 'add symlink' | |
|
12 | 12 | |
|
13 | hg archive -t files ../archive | |
|
14 | hg archive -t tar -p tar ../archive.tar | |
|
15 | hg archive -t zip -p zip ../archive.zip | |
|
13 | $ hg archive -t files ../archive | |
|
14 | $ hg archive -t tar -p tar ../archive.tar | |
|
15 | $ hg archive -t zip -p zip ../archive.zip | |
|
16 | ||
|
17 | files | |
|
16 | 18 | |
|
17 | echo '% files' | |
|
18 | cd "$origdir" | |
|
19 | cd archive | |
|
20 | $TESTDIR/readlink.py dangling | |
|
19 | $ cd "$origdir" | |
|
20 | $ cd archive | |
|
21 | $ $TESTDIR/readlink.py dangling | |
|
22 | dangling -> nothing | |
|
23 | ||
|
24 | tar | |
|
21 | 25 | |
|
22 | echo '% tar' | |
|
23 | cd "$origdir" | |
|
24 | tar xf archive.tar | |
|
25 | cd tar | |
|
26 | $TESTDIR/readlink.py dangling | |
|
26 | $ cd "$origdir" | |
|
27 | $ tar xf archive.tar | |
|
28 | $ cd tar | |
|
29 | $ $TESTDIR/readlink.py dangling | |
|
30 | dangling -> nothing | |
|
27 | 31 | |
|
28 | echo '% zip' | |
|
29 | cd "$origdir" | |
|
30 | unzip archive.zip > /dev/null | |
|
31 | cd zip | |
|
32 | $TESTDIR/readlink.py dangling | |
|
32 | zip | |
|
33 | ||
|
34 | $ cd "$origdir" | |
|
35 | $ unzip archive.zip > /dev/null | |
|
36 | $ cd zip | |
|
37 | $ $TESTDIR/readlink.py dangling | |
|
38 | dangling -> nothing |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now