hgweb

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 that though. Does the functionality only exist in hgweb and not hgwebdir? ...

Mercurial on IIS6+Win Server 2003 - path problems

I'm trying to get Mercurial going with IIS6 on Windows Server 2003 following the tutorial on this blog My setup is c:\inetpub\HG_web_interface\ and the folder containing repositories is in d:\HG_repo\ My hgweb.config looks like this [paths] test = D:\HG_rep\** [web] style = monoblue I tried pretty much every combination of forwa...

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 = Gitweb contact = BrianLy description = Same description for all. I want a unique description. allo...

Using 'gitweb' style shows all branches. Can I show only desired number of branches?

Hi, When Using 'gitweb' style for hgweb on a page I can see planty of branches, for example if I have 1000 of them - all are shown. I tried setting: [defaults] branches = -a in global hgrc file but it doesn't effect the web view. My guess is it is related to 'gitweb' style template's files. Is there any easy way of limitating the num...

Redirecting old changesets to other repositories

We have a hook in Mercurial that posts the changeset message and a link the changeset to our bug tracking software. We are using separate repos for each branch. When we are done with a branch we would like to push it to an archive repository and delete the original repo so that the Mercurial page of repositories doesn't get cluttered w...

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 anyone done this or seen instructions on how to do this? ...

How to embed a hgactivity graph in hgweb

I would like to embed an actity graph created by hgactivity inside my hgweb webinterface. What's the best method to do so. Here's a screenshot of a hgactivity graph: It shows the number of commits through time to a Mercurial repository. ...

Published mercurial repos - links return 404

I am able to publish the list of repositories using hgwebdir.cgi on Tomcat. However none of the links on the published repository work. What should the baseurl be set to? I set it to http://host:port/folder where the cgi-bin is right under the folder. The urls dont form correctly (dont have the hgwebdir.cgi in them) and i have no url rew...

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: <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5...

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 with a fair number of other, non-mercurial-managed projects. hgweb is really slow to ...

Can I allow_push on individual repositories using hgweb.config [Mercurial]

In hgweb.config, the allow_push parameter applies to all defined repos defined in the [paths] section. Is there a way to allow push on one repo but not in another, or would I need to actually create completely separate configurations (and corresponding web apps) per repo then? (In case it matters, it's on Windows with hgweb hosted in I...

How do I use hg push in Mercurial

Hi, 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: pandora user: rich password: pushing to https://pandora/dev/test searching for changes abort:...

mercurial + Apache gives 403 error

I have setup my repo at /home/adil/hg/sample-repo and want to serve it via httpd. I am following the tutorial at http://mercurial.selenic.com/wiki/PublishingRepositories#multiple and have created the hgweb.config file and have copied hgweb.cgi (renamed it to index.cgi) to /home/adil/web/mercurial/ My apache config (/etc/httpd/conf/httpd...