# HG changeset patch # User Richard Westhaver # Date 1721594421 14400 # Node ID 64f785aa94f5f4cf183488a108e07be5584b4e1b # Parent cd564535f08e76cbb4635f1ba4ac9607041cec3a hgweb cleanup diff -r cd564535f08e -r 64f785aa94f5 hgweb.conf --- a/hgweb.conf Sun Jul 21 01:06:40 2024 -0400 +++ b/hgweb.conf Sun Jul 21 16:40:21 2024 -0400 @@ -19,9 +19,7 @@ [extensions] highlight = [paths] -/ = /home/vc/comp/** -packy = /home/vc/packy -scratch = /home/vc/scratch/** +/ = /home/vc/src/* [phases] publish = False new-commit = draft \ No newline at end of file diff -r cd564535f08e -r 64f785aa94f5 hgweb.py --- a/hgweb.py Sun Jul 21 01:06:40 2024 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -#!/usr/bin/env python3 -config = b"/home/vc/hgweb.conf" -# enable demandloading to reduce startup time -from mercurial import demandimport; demandimport.enable() -from mercurial.hgweb import hgweb, wsgicgi -app = hgweb(config) -wsgicgi.launch(app) diff -r cd564535f08e -r 64f785aa94f5 hgweb.wsgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hgweb.wsgi Sun Jul 21 16:40:21 2024 -0400 @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 +config = b"/home/vc/hgweb.conf" +# enable demandloading to reduce startup time +from mercurial import demandimport; demandimport.enable() +from mercurial.hgweb import hgweb, wsgicgi +application = hgweb(config) +wsgicgi.launch(application)