Vadim Gelfer <vadim.gelfer@gmail.com> [Fri, 03 Mar 2006 08:44:37 -0800] rev 1828
merge with crew.
Vadim Gelfer <vadim.gelger@gmail.com> [Thu, 02 Mar 2006 11:38:39 -0800] rev 1827
get patchbomb extension to use demandload. speeds up hg startup by 50%.
Vadim Gelfer <vadim.gelger@gmail.com> [Thu, 02 Mar 2006 11:38:03 -0800] rev 1826
rewrite demandload module to be more flexible.
performance not affected.
old demandload module could only import top-level modules like os and
sys.
with rewrite, all of following syntax is emulated perfectly:
import foo, bar foo bar
import foo.bar.quux foo.bar.quux
from foo.bar import quux, blurfl foo.bar:quux,blurfl
only thing missing is "import foo as bar".
also, namespace clashes between placeholder object and demand loaded
module are no longer possible.
Thomas Arendsen Hein <thomas@intevation.de> [Thu, 02 Mar 2006 09:17:04 +0100] rev 1825
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.