hg
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 03 Jul 2006 00:33:19 -0300
changeset 2558 1120302009d7
parent 1698 ad4a2eefe4d7
child 3886 abaee83ce0a6
permissions -rwxr-xr-x
hgweb: fix unbundle. After the WSGI changes, even if a push over HTTP succeeds, apache complains about "Premature end of script headers: hgwebdir.cgi" and returns a "HTTP Error 500: Internal Server Error", making the local hg abort. The change to either of the files touched by this patch is enough to fix this, but I think changing both is a more robust solution.

#!/usr/bin/env python
#
# mercurial - scalable distributed SCM
#
# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

from mercurial import commands

commands.run()