The CGI-based repository viewer for Mercurial.
Questions tagged [hgweb]
56 questions
3
votes
2 answers
Graphical changelog in mercurial's hgwebdir.cgi
I have a set of mercurial repositories being served online with hgwebdir.cgi. I would like to be able to show a graphical representation of the branches and merges in the same way that this site does. I can't seem to find any reference to how to do…

wxs
- 5,617
- 5
- 36
- 51
2
votes
0 answers
hgweb.cgi and nginx - "Connection refused"
I've followed https://www.mercurial-scm.org/wiki/HgWebDirStepByStep to get "hg serve" running over CGI - but it's not quite working.
Here is the command I'm using to spawn the CGI:
spawn-fcgi -a 127.0.0.1 -p 9000 -f /path/to/hgweb.cgi -P…

user1079369
- 31
- 2
2
votes
1 answer
How can I set up multiple hgweb sites on one IIS server?
I'm setting up our company's first Mercurial web interface, and I've hit a bit of a roadblock. We will have multiple teams using this server, and I don't want team A to have to deal with team B's repositories, and vice-versa.
If hgweb served the…

Terry Lewis
- 397
- 2
- 8
2
votes
2 answers
mercurial hgweb.config do not find repositories, path issue
I have a repository set up on an apache web server using the hgweb.cgi script declared in my apache2.conf file as following:
ScriptAlias /hgp "/var/www/hgrepublic/hgweb.cgi"
In my hgweb.cgi script, if I set the config variable as the path to my…

atalon1
- 21
- 3
2
votes
0 answers
The specified CGI application misbehaved... when executing hgweb.cgi for Mercurial
I have IIS 6
I installed Mercurial in c:/program files/mercurial
I installed Python 2.6 in c:/program files/python
I added extension handlings etc for my websites under tab 'home directory'=>'configuration
"C:\program…

Maarten Baar
- 41
- 2
2
votes
2 answers
How do I get hgweb to actually display the repository I want?
I am having an infuriating experience with IIS7, Python 2.6, Mercurial 1.7.2, and hgweb.cgi.
After battling for an afternoon getting hgweb.cgi to work, I finally got it to render in the browser using hgweb.cgi and IIS7. I can now see a blank…

Nick Hodges
- 16,902
- 11
- 68
- 130
2
votes
2 answers
Running Mercurial with Apache on Windows XP
I've been struggling to get Mercurial working with Apache on Windows XP.
I've read and tried the suggestions at the following SO threads: 1, 2, 3 & 4
So far all I can is a blank page and when I view the source I can see:

paperclip
- 2,280
- 6
- 28
- 39
2
votes
1 answer
hgweb alternatives to allow_push
I've got Mercurial running on IIS7 fine. One thing that is frustrating is that allow_push will only take a list of usernames rather than a group.
To that end, I was wondering if it'd be possible to use a hook to carry out this task. i.e. by passing…

Martin Clarke
- 5,636
- 7
- 38
- 58
2
votes
1 answer
hgweb: display different repositories to different users?
I'd like to host two different sets of private repositories off the same server/vhost, and have users see one set or another depending on their credentials.
Is there an easier way of doing this than hosting two separate hgweb instances with separate…

Gili
- 86,244
- 97
- 390
- 689
1
vote
1 answer
creating subdomains with apache on debian; creating hgweb subdomain as second step
After hours of trying to setup subdomains on my dedicated root server, I'm asking you for help.
Target:
being able to create and access subdomains
setup an own subdomain for mercurial repositories, using hgweb
Information about the server:
Debian…

bully
- 5,525
- 3
- 22
- 26
1
vote
2 answers
hgweb without Web Interface
This may seem like a dumb idea, but is there anyway to serve a mercurial repository over http without any of the webinterface features bundled in hgweb.cgi .
I would like users to be able to clone/push the repository over http:// but I do not want…

Alex
- 1,993
- 1
- 15
- 25
1
vote
1 answer
Matching Mercurial/Python/PyWin32 Component Versions
I'm looking at two different guides for Windows HgWeb installation on IIS. The first from mercurial developers says:
On Windows, your Python version must
match the version used to compile
Mercurial. Otherwise, you'll get
"Invalid Magic…

Brent Arias
- 29,277
- 40
- 133
- 234
1
vote
1 answer
hgweb with mod_wsgi's WSGIDaemonProcess running as another user (to skip chmod/chown)
Is it possible to serve hgweb with mod_wsgi's WSGIDaemonProcess running as another user, so that it won't be necessary to do any chmod/chown? E.g. the repositories is under /home/john/repositories, while the WSGIDaemonProcess is configured with…

sayap
- 6,169
- 2
- 36
- 40
1
vote
0 answers
hgweb.cgi throws a 502 (bad gateway) when pushing
Possible Duplicate:
hgweb.cgi throws a 502 (bad gateway) when pushing
This post is a duplicate of 4973331

JeffreyABecker
- 2,724
- 1
- 25
- 36
1
vote
1 answer
Enable Java syntax highlight in SourceForge's hgweb
I would like to have syntax highlighting in hgweb.
For example, makes
http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/file/7289237e7b67/src/org/yccheok/jstock/gui/AboutJDialog.java
looks…

Cheok Yan Cheng
- 47,586
- 132
- 466
- 875