##// 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-hup
16 lines | 149 B | text/plain | TextLexer
#!/bin/sh
hg init
mkfifo p
hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
sleep 1
ls .hg