equal
deleted
inserted
replaced
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)) |