tests/test-empty
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 02 Mar 2006 09:17:04 +0100
changeset 1825 a9343f9d7365
parent 1338 2b77ea66fe70
permissions -rwxr-xr-x
Make hgweb.staticfile() more secure and portable. Without this, files in directories next to the static directory starting with 'static' could be retrieved, e.g. with '../static.private/foo'. Additionally staticfile now generates platform specific pathnames from the /-separated paths given in the URL. Illegal file names (e.g. containing %00) now yield a sane error message.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1338
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/sh
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     2
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     3
hg init
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     4
hg log
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     5
hg grep wah
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     6
hg manifest
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     7
hg verify