contrib/hgwebdir.fcgi
changeset 5197 55860a45bbf2
parent 4391 722417b3d7fa
child 5244 79279b5583c6
--- a/contrib/hgwebdir.fcgi	Fri Aug 17 23:20:13 2007 -0300
+++ b/contrib/hgwebdir.fcgi	Sat Aug 18 11:37:08 2007 +0200
@@ -2,6 +2,9 @@
 #
 # An example CGI script to export multiple hgweb repos, edit as necessary
 
+# enable demandloading to reduce startup time
+from mercurial import demandimport; demandimport.enable()
+
 # send python tracebacks to the browser if an error occurs:
 import cgitb
 cgitb.enable()