changeset 2:dfc6cd448c24

cleaned up example script
author Robert McIntyre <rlm@mit.edu>
date Wed, 19 Oct 2011 23:22:22 -0700
parents 7ac5f81af66d
children 1bfce31b98ea
files hgweb.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/hgweb.py	Wed Oct 19 23:20:17 2011 -0700
     1.2 +++ b/hgweb.py	Wed Oct 19 23:22:22 2011 -0700
     1.3 @@ -1,14 +1,7 @@
     1.4  #!/usr/bin/env python
     1.5 -#
     1.6 -# An example hgweb CGI script, edit as necessary
     1.7 -# See also http://mercurial.selenic.com/wiki/PublishingRepositories
     1.8  
     1.9 -# Path to repo or hgweb config to serve (see 'hg help hgweb')
    1.10  config = "/home/r/proj/bortreb/hgweb.config"
    1.11  
    1.12 -# Uncomment and adjust if Mercurial is not installed system-wide:
    1.13 -#import sys; sys.path.insert(0, "/path/to/python/lib")
    1.14 -
    1.15  # Uncomment to send python tracebacks to the browser if an error occurs:
    1.16  #import cgitb; cgitb.enable()
    1.17