changeset 60: |
64f785aa94f5 |
parent 59: |
cd564535f08e |
child 61: |
b6f44c623141 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Sun, 21 Jul 2024 16:40:21 -0400 |
files: |
hgweb.conf hgweb.py hgweb.wsgi |
description: |
hgweb cleanup |
1.1--- a/hgweb.conf Sun Jul 21 01:06:40 2024 -0400
1.2+++ b/hgweb.conf Sun Jul 21 16:40:21 2024 -0400
1.3@@ -19,9 +19,7 @@
1.4 [extensions]
1.5 highlight =
1.6 [paths]
1.7-/ = /home/vc/comp/**
1.8-packy = /home/vc/packy
1.9-scratch = /home/vc/scratch/**
1.10+/ = /home/vc/src/*
1.11 [phases]
1.12 publish = False
1.13 new-commit = draft
1.14\ No newline at end of file
2.1--- a/hgweb.py Sun Jul 21 01:06:40 2024 -0400
2.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3@@ -1,7 +0,0 @@
2.4-#!/usr/bin/env python3
2.5-config = b"/home/vc/hgweb.conf"
2.6-# enable demandloading to reduce startup time
2.7-from mercurial import demandimport; demandimport.enable()
2.8-from mercurial.hgweb import hgweb, wsgicgi
2.9-app = hgweb(config)
2.10-wsgicgi.launch(app)
3.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2+++ b/hgweb.wsgi Sun Jul 21 16:40:21 2024 -0400
3.3@@ -0,0 +1,7 @@
3.4+#!/usr/bin/env python3
3.5+config = b"/home/vc/hgweb.conf"
3.6+# enable demandloading to reduce startup time
3.7+from mercurial import demandimport; demandimport.enable()
3.8+from mercurial.hgweb import hgweb, wsgicgi
3.9+application = hgweb(config)
3.10+wsgicgi.launch(application)