Show More
@@ -3,6 +3,8 b'' | |||||
3 | # An example CGI script to use hgweb, edit as necessary |
|
3 | # An example CGI script to use hgweb, edit as necessary | |
4 |
|
4 | |||
5 | import cgitb, os, sys |
|
5 | import cgitb, os, sys | |
|
6 | cgitb.enable() | |||
|
7 | ||||
6 | # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install |
|
8 | # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install | |
7 | from mercurial import hgweb |
|
9 | from mercurial import hgweb | |
8 |
|
10 |
@@ -6,10 +6,6 b'' | |||||
6 | # This software may be used and distributed according to the terms |
|
6 | # This software may be used and distributed according to the terms | |
7 | # of the GNU General Public License, incorporated herein by reference. |
|
7 | # of the GNU General Public License, incorporated herein by reference. | |
8 |
|
8 | |||
9 | # useful for debugging |
|
|||
10 | import cgitb |
|
|||
11 | cgitb.enable() |
|
|||
12 |
|
||||
13 | import os, cgi, time, re, difflib, sys, zlib |
|
9 | import os, cgi, time, re, difflib, sys, zlib | |
14 | from mercurial.hg import * |
|
10 | from mercurial.hg import * | |
15 | from mercurial.ui import * |
|
11 | from mercurial.ui import * |
General Comments 0
You need to be logged in to leave comments.
Login now