Admin/Mercurial/hgwebdir.cgi
changeset 40385 b70ef70733e8
parent 28930 6d677da7b339
     1.1 --- a/Admin/Mercurial/hgwebdir.cgi	Fri Nov 05 21:53:25 2010 +0100
     1.2 +++ b/Admin/Mercurial/hgwebdir.cgi	Fri Nov 05 22:01:01 2010 +0100
     1.3 @@ -4,7 +4,12 @@
     1.4  
     1.5  # adjust python path if not a system-wide install:
     1.6  import sys
     1.7 -sys.path.insert(0, "/home/isabelle-repository/repos/mercurial-www4/lib64/python2.5/site-packages")
     1.8 +# using the hg installation provided by the system (AK, 3.3.2010)
     1.9 +#sys.path.insert(0, "/home/isabelle-repository/repos/mercurial-www4/lib64/python2.5/site-packages")
    1.10 +#sys.path.insert(0, "/usr/lib64/python2.5/site-packages")
    1.11 +#sys.path.insert(0, "/home/isabelle-repository/repos/mercurial-1.3.1/lib64")
    1.12 +#sys.path.insert(0, "/home/isabelle-repository/repos/testtool")
    1.13 +
    1.14  
    1.15  # enable importing on demand to reduce startup time
    1.16  from mercurial import demandimport; demandimport.enable()
    1.17 @@ -20,6 +25,7 @@
    1.18  #
    1.19  import os
    1.20  os.environ["HGENCODING"] = "UTF-8"
    1.21 +os.environ["HGRCPATH"] = "/home/isabelle-repository/repos/hgrc"
    1.22  
    1.23  from mercurial.hgweb.hgwebdir_mod import hgwebdir
    1.24  import mercurial.hgweb.wsgicgi as wsgicgi