##// END OF EJS Templates
Output Content-encoding for tar.gz and tar.bz2 snapshots...
Output Content-encoding for tar.gz and tar.bz2 snapshots If the HTTP header 'Content-encoding' is missing for tar.gz snapshots, some gzip capable proxies can bork the tarball and serve unusable files to users. GZ tarballs are served using Content-encoding: gzip. BZ2 tarballs are served using Content-encoding: x-bzip2.

File last commit:

r814:0902ffec merge default
r1185:2ae9c319 default
Show More
test-empty-dir
16 lines | 191 B | text/plain | TextLexer
#!/bin/sh
hg init
echo 123 > a
hg add a
hg commit -m "first" -d "0 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -m "second" -d "0 0" sub/b
cat sub/b
hg co 0
cat sub/b
ls sub
true