[issue3272] hgweb.cgi doesnt recognize that large files are enabled - repository not listed
lmarkol
bugs at mercurial.selenic.com
Thu Feb 16 08:32:43 UTC 2012
New submission from lmarkol <marko.lehmann at gfnmediber.de>:
https://x.x.x.x/hg/projectA:
An error occurred while processing your request: unknown repository format:
requires features 'largefiles' (upgrade Mercurial)
----------------------
hgweb.cgi:
#!/usr/bin/env python
#
# An example hgweb CGI script, edit as necessary
# See also http://mercurial.selenic.com/wiki/PublishingRepositories
# Path to repo or hgweb config to serve (see 'hg help hgweb')
config = "C:\inetpub\wwwroot\hg\hgweb.config"
# Uncomment and adjust if Mercurial is not installed system-wide:
#import sys; sys.path.insert(0, "/path/to/python/lib")
# Uncomment to send python tracebacks to the browser if an error occurs:
#import cgitb; cgitb.enable()
from mercurial import demandimport; demandimport.enable()
from mercurial.hgweb import hgweb, wsgicgi
application = hgweb(config)
wsgicgi.launch(application)
-----------------------
projectA hgrc File has largefiles enabled:
[extensions] largefiles =
--------------------
hgweb.config has largefiles enabled:
[collections] xxxx = xxxxx
[extensions] largefiles =
[web] baseurl = /hg allow_push = * push_ssl = false
--------------------------------------
Comment:
Every other Repository without largefiles doesnt have this problem and works
fine.
---------
System:
IIS7 (AD Authentification), Mercurial Distributed SCM (version 2.1),
TortoiseHG 2.3, library.zip from TortoiseHG 2.3,
----------
messages: 19101
nosy: lmarkol
priority: bug
status: unread
title: hgweb.cgi doesnt recognize that large files are enabled - repository not listed
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3272>
____________________________________________________
More information about the Mercurial-devel
mailing list