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