##// END OF EJS Templates
Document log date ranges and mention 'hg help dates' for all commands (issue998)
Document log date ranges and mention 'hg help dates' for all commands (issue998)

File last commit:

r5683:396c7010 default
r6163:1f733c2f default
Show More
test-archive-symlinks
32 lines | 567 B | text/plain | TextLexer
/ tests / test-archive-symlinks
Alexis S. L. Carvalho
archive: add symlink support
r4831 #!/bin/sh
Patrick Mezard
Skip test-archive-symlinks if symlinks are not available
r5069 "$TESTDIR/hghave" symlink || exit 80
Alexis S. L. Carvalho
archive: add symlink support
r4831 origdir=`pwd`
hg init repo
cd repo
ln -s nothing dangling
Alexis S. L. Carvalho
run-tests.py: add a default --date "0 0" argument to commit et al...
r5524 # avoid tar warnings about old timestamp
hg ci -d '2000-01-01 00:00:00 +0000' -qAm 'add symlink'
Alexis S. L. Carvalho
archive: add symlink support
r4831
hg archive -t files ../archive
hg archive -t tar -p tar ../archive.tar
hg archive -t zip -p zip ../archive.zip
echo '% files'
cd "$origdir"
cd archive
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py dangling
Alexis S. L. Carvalho
archive: add symlink support
r4831
echo '% tar'
cd "$origdir"
tar xf archive.tar
cd tar
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py dangling
Alexis S. L. Carvalho
archive: add symlink support
r4831
echo '% zip'
cd "$origdir"
unzip archive.zip > /dev/null
cd zip
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py dangling