The CGI-based repository viewer for Mercurial.
Questions tagged [hgweb]
56 questions
14
votes
1 answer
Mercurial - how do I populate repository descriptions for hgwebdir.cgi?
Currently if I specify a description in hgwebdir.config it shows up the same for each repository. I want to have a unique name for each repository. Where and how do I set this?
My hgwebdir.config looks like this at present:
[web]
style =…

Brian Lyttle
- 14,558
- 15
- 68
- 104
11
votes
4 answers
Mercurial server on Windows using ActiveDirectory for authentication
I'm running Mercurial's hgwebdir.cgi on WinXP over IIS as a central repo for sharing code with my team. I'd like to use ActiveDirectory to authenticate to the server when pushing/pulling through TortoiseHg and/or the command-line hg client. Has…

Joe Schneider
- 9,179
- 7
- 42
- 59
9
votes
3 answers
Why doesn't Mercurial support remote repository creations over HTTP?
I know it is not possible to create Mercurial repositories remotely using HTTP(S), for instance:
$ hg init https://host.org/repos/project
or
$ hg clone /path/to/local/project https://host.org/repos/project
But, what's the reason? Security issues?…

Oben Sonne
- 9,893
- 2
- 40
- 61
9
votes
4 answers
Mercurial and hgweb on IIS 7.5 - python error
I am trying to get Mercurial to host on IIS 7.5 (Win 7 x64) and keep running into an error I cant seem to fix.
I have followed Jeremy Skinners tutorial here: Mercurial on IIS7
Instead of hgwebdir, I use hgweb as I am using Mercurial 1.7.2
I have…

thorkia
- 1,972
- 1
- 20
- 26
7
votes
3 answers
Mercurial / IIS / No module named osutil
I am trying to get Mercurial to be hosted via "hgweb.cgi" on IIS 7.5. I have everything configured according to http://www.jeremyskinner.co.uk/mercurial-on-iis7/ except for that I installed python 2.6 and Mercurial 1.7.3. When I try to go to the…
user19302
6
votes
3 answers
How to make hgweb display repositories in a hierarchy?
I have about 100 Mercurial repositories served by hgweb. The repositories are stored in a folder hierarchy, but hgweb displays the structure in a "flat" manner. This doesn't scale. Is there a way to display the repositories in a tree-like hierarchy…

Lóránt Pintér
- 10,152
- 14
- 47
- 53
6
votes
4 answers
Why is my hgweb server so slow?
I am serving up access to many mercurial repositories using hgweb, providing them as a collection:
[collections]
/home/me = /home/me/projects
This serves them up at localhost/projects
I have around 30 repositories at that location, in a source tree…

Chris R
- 17,546
- 23
- 105
- 172
5
votes
1 answer
How to easily publish a new Mercurial repository or subrepository on a shared central server? (Push a clone)
Mercurial's vast publishing options include HgWeb (and formerly HgWebDir), which is almost perfect for my needs. HgWeb 1.6 supports multiple repositories, including collections.
So hgweb.config could contain something like…

Warren P
- 65,725
- 40
- 181
- 316
5
votes
1 answer
Why is hgweb.cgi not listing repositories created with mercurial 1.7 or 1.8?
I am running hgweb.cgi on a Windows 2003 server (IIS 6, Python 2.6.6), and have been having no issues until I recently upgraded from mercurial 1.6 to 1.7 and 1.8 (clients and central server). I have a single directory on the server containing all of…

Justin Holzer
- 2,326
- 2
- 22
- 22
5
votes
1 answer
hgweb.cgi throws a 502 (bad gateway) when pushing
I've configured hgweb.cgi behind iis7 on windows server 2008. I can pull the repository just fine. However whenever I push I get a 502 bad gateway. I've found a posting which seems to indicate this is a problem with the mercurial config on the…

JeffreyABecker
- 2,724
- 1
- 25
- 36
4
votes
1 answer
Creating remote bookmarks while pushing to hgweb server
There's a lot of questions about bookmarks but none of them answers my question:
What should I do to allow for creating bookmarks while pushing to my hgweb server?
Here's what I'm getting while trying to push bookmark:
$ hg push -B feature1
pushing…

seler
- 8,803
- 4
- 41
- 54
4
votes
1 answer
Is it possible to include a diff in hgweb's RSS feed?
The RSS feeds are a very good way to keep people updated about the latest changes in a repo. Unfortunately, the default RSS feeds include only the commit message in the body.
This similar question has information on how to customize the feed, but…

static_rtti
- 53,760
- 47
- 136
- 192
3
votes
1 answer
I can't get Mercurial to serve under Apache on Mac OS X Lion
I'm trying to get Mercurial to serve using hgwebdir.cgi under Apache on Mac OS X Lion.
I followed the directions listed here:
http://www.popitandrockit.com/2010/05/mercurial-server-on-osx-106-snow.html
That article is for Snow Leopard (I guess no…

Tom Kidd
- 12,830
- 19
- 89
- 128
3
votes
2 answers
Unable to get Mercurial's hgweb.cgi working on IIS7
I have been using this guide http://tinyurl.com/mercurial-iis to attempt to setup Mercurial on IIS 7. I have followed every step however when I try to access the site I get the following error:
Error Summary
HTTP Error 500.0 - Internal Server…

jwarzech
- 6,596
- 11
- 52
- 72
3
votes
2 answers
How do I use hg push in Mercurial
I've spent some time converting my SVN repository to Mercurial. I've setup Mercurial under IIS7 on Win 2008 R2.
I have nearly everything working. However I can not push changes back to server.
$ hg push
http authorization required
realm:…

Rich
- 3,722
- 5
- 33
- 47