7l7ilU3mUQPNymi8JMQIv9 changeset

Changeset386530373164 (b)
ParentNone (a)
ab
0+# --------------------------
0+# hgweb.py
0+# --------------------------
0+
0+from mercurial.hgweb.hgweb_mod import hgweb
0+from mercurial.hgweb.hgwebdir_mod import hgwebdir
0+
0+CONFIG = '/home/martyn/hgweb.config'
0+application = hgwebdir(CONFIG)
0+
0+
0+# --------------------------
0+# hgweb.config
0+# --------------------------
0+
0+[ui]
0+username = martyn
0+editor = vim
0+
0+[web]
0+baseurl =/.
0+style= gitweb
0+push_ssl = false
0+allow_push = *
0+
0+[paths]
0+repo1 = /home/martyn/repo1/
0+repo2 = /home/martyn/repo2/
0+
0+
0+# --------------------------
0+# Now run
0+# --------------------------
0+gunicorn -w 3 hgweb:application
0+
0+
0+
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- Revision None
+++ Revision 386530373164
@@ -0,0 +1,37 @@
+# --------------------------
+# hgweb.py
+# --------------------------
+
+from mercurial.hgweb.hgweb_mod import hgweb
+from mercurial.hgweb.hgwebdir_mod import hgwebdir
+
+CONFIG = '/home/martyn/hgweb.config'
+application = hgwebdir(CONFIG)
+
+
+# --------------------------
+# hgweb.config
+# --------------------------
+
+[ui]
+username = martyn
+editor = vim
+
+[web]
+baseurl =/.
+style= gitweb
+push_ssl = false
+allow_push = *
+
+[paths]
+repo1 = /home/martyn/repo1/
+repo2 = /home/martyn/repo2/
+
+
+# --------------------------
+# Now run
+# --------------------------
+gunicorn -w 3 hgweb:application
+
+
+