Questions tagged [hgweb]

The CGI-based repository viewer for Mercurial.

56 questions
1
vote
2 answers

Can I allow_push on individual repositories using hgweb.config

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…
Arian Kulp
  • 831
  • 8
  • 31
1
vote
2 answers

Execute hgweb.cgi from Java

I have Jetty web server from which I want to run hgweb.cgi: ProcessBuilder builder = new ProcessBuilder("/MyPath/hgweb.cgi"); Then I create Process process = builder.start(); and feed Input stream from request to process forming server response.…
Sergei Voitovich
  • 2,804
  • 3
  • 25
  • 33
1
vote
1 answer

Separate security directives for each repository in hgweb and Apache

I have several Mercurial repositories published using hgweb and secured with Apache 2.2 Is there any way to have multiple security configurations? I'd like to have a default configuration for most repositories, and then separate configurations for…
pards
  • 1,098
  • 15
  • 20
1
vote
1 answer

How can I create a new theme for Mercurial or HgWeb?

I have a couple of Mercurial installations running on IIS7 on a 2008 server. I'd like to use the monoblue theme style for both of them, but I want to change the colour of the second one. To accomplish this, I copied the monoblue theme, and it’s…
Greg
  • 515
  • 1
  • 8
  • 19
1
vote
1 answer

Setting up mercurial web interface on nearlyfreespeech

I have recently been struggling with setting up my webhost to be used for mercurial repos and also for hgweb. I use nearlyfreespeech.net (NFSN) for hosting. By default, NFSN has a CGI realm of freebsd72 and restricts you to just CGI, no WGSI or the…
Ross Hays
  • 341
  • 4
  • 19
1
vote
1 answer

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

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…
Czlowiekwidmo
  • 1,105
  • 2
  • 10
  • 12
1
vote
1 answer

Mercurial / hgweb : How to get latest revision description for each file on browse page?

I have local repo, and I need to view latest changes description per-file basis via web interface. Look on examples (folder in Netbeans sources) : 1 - on Netbeans native server 2 - on Bitbucket server I have "1", but I want "2" (where we can see…
0gog0
  • 159
  • 2
1
vote
3 answers

mercurial ssl access allow pull BUT require authentication for push

I have set up a mercurial server through SSL. In the apache config file I have set up an authentication using a mysql database. I would like everyone to be able to pull from the repository without credentials, but restrict the push right to…
user1396055
  • 295
  • 1
  • 12
0
votes
1 answer

Can't seem to get ACL to work with hgweb.wsgi

I have hgweb.wsgi setup on an ubuntu server under apache2. Furthermore I have basic authing using the apache2 htpasswd approach. This all works nicely. However, we want to control what each user have access to and ACL seems to be the best approach.…
Ylisar
  • 4,293
  • 21
  • 27
0
votes
1 answer

Netbeans Mercurial Authentication

I have a strange problem. I have set up a Mercurial server using the hgweb.cgi script. The script runs in a subfolder on my Apache webserver, and I use Apache basicauth to enforce authentication. When I try to pull from my server using hg.exe on…
0
votes
1 answer

Mercurial hgweb using without CGI not working in IIS 6.0

I am trying to get Mercurial hgweb working using ISAPI following those two links http://blog.jaredreisinger.com and Vampire Basic. The server is a IIS 6.0 Windows server 2003. On the same machine I had successfully got Mercurial hgweb running using…
Paul L
  • 2,240
  • 5
  • 36
  • 55
0
votes
2 answers

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 https://www.mercurial-scm.org/wiki/PublishingRepositories#multiple and have created the hgweb.config file and have copied hgweb.cgi…
Adil
  • 2,092
  • 3
  • 25
  • 35
0
votes
1 answer

Use path with spaces in hgweb config?

When hosting Mercurial source control respositories with hgweb, is it possible to use a path with spaces in your hgweb.config file? In particular, can you point me to an authoritative source documenting that it can't work or to instructions on how…
erdomke
  • 4,980
  • 1
  • 24
  • 30
0
votes
1 answer

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…
0
votes
3 answers

How to embed a hgactivity graph in hgweb

I would like to embed an activity 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.
Ton Plomp
  • 3,020
  • 1
  • 18
  • 35