hgwebdir.cgi
changeset 3782 713e35dcc321
parent 2506 d0db3462d568
child 3868 6033d9f28052
equal deleted inserted replaced
3781:d0a48313b0f6 3782:713e35dcc321
    27 # Then repos will list as bar and quux/baz.
    27 # Then repos will list as bar and quux/baz.
    28 
    28 
    29 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
    29 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
    30 # or use a dictionary with entries like 'virtual/path': '/real/path'
    30 # or use a dictionary with entries like 'virtual/path': '/real/path'
    31 
    31 
       
    32 # If you'd like to serve pages with UTF-8 instead of your default
       
    33 # locale charset, you can do so by uncommenting the following lines.
       
    34 # Note that this will cause your .hgrc files to be interpreted in
       
    35 # UTF-8 and all your repo files to be displayed using UTF-8.
       
    36 #
       
    37 # os.environ["HGENCODING"] = "UTF-8"
       
    38 
    32 def make_web_app():
    39 def make_web_app():
    33     return hgwebdir("hgweb.config")
    40     return hgwebdir("hgweb.config")
    34 
    41 
    35 wsgicgi.launch(wsgiapplication(make_web_app))
    42 wsgicgi.launch(wsgiapplication(make_web_app))