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