Questions tagged [mercurial]

Mercurial is a fast, open-source, distributed version control system.

Mercurial logo

Mercurial is a distributed version control system (DVCS). It is dedicated to speed and efficiency with a sane user interface. The main part of the code is written in Python, with a small part in C. The project is open-source, distributed under the GPL. More information:

Please report bugs to the bug tracker instead of posting them here on Stack Overflow. Otherwise the Mercurial team may not see them, and you will become frustrated from the lack of response.

125 questions
4
votes
1 answer

Mercurial - anyway to make hg serve permanent?

Seems like everyday I have to SSH into our SME server and issue a "hg serve" command so that we can push/pull from/to it. Is there anyway for the mercurial server to stay on? I dont even know whats turning it off as the actual server is always on.
Tesla
  • 155
  • 2
4
votes
3 answers

Where is hgweb.cgi in the Mac OS X deployment of Mercurial?

I'd like to serve a CGI-based Mercurial repository from my OS X machine, but I cannot for the life of me find the hgweb.cgi file, which I assume is step 1 of the process. My Mercurial installation comes from the OSX binary package installation, and…
Chris R
  • 533
  • 1
  • 5
  • 20
4
votes
3 answers

Setup mercurial over HTTP

Can you give some pointers to setup Mercurial over HTTP/HTTPS? I am setting up a development server (Debian), where i want to create a mercurial repository and push the changes to the server. I need to authenticate to prevent any unnecessary access.…
18bytes
  • 155
  • 1
  • 5
4
votes
3 answers

Hosting multiple repositories, each with differing access control

We will need to host a series of Mercurial repositories. For security, we will use SSL encryption in Apache and htpasswd access (required). I tested out a single repository and used hgwebdir.cgi and used the hgweb.config to define the repository…
user9748
  • 267
  • 2
  • 5
4
votes
1 answer

How do you create an ssh key for the apache user on Redhat?

As the question asks, how do I generate an ssh key for the user apache on Redhat? My use case, is that we have a mercurial server running under the apache user. We also have several web servers clustered that we need to log on to manually and do…
Josh Smeaton
  • 1,340
  • 2
  • 19
  • 31
4
votes
2 answers

Force specific usernames for Mercurial commits

We're switching from Subversion to Mercurial in our corporate environment. There will be a central repository that is accessible via HTTPS with basic HTTP authentication. Now I'm curious whether it's possible to force specific usernames for commits?…
Sven
  • 141
  • 5
4
votes
4 answers

Allowing Mercurial access but disallowing SSH

I've set up a Mercurial server on a Linux machine and it works fine. Users can, for example, push and pull to it using something like: hg push ssh://... Users can also ssh into the server. For some users I'd like to restrict the access to they can…
user66204
  • 49
  • 1
4
votes
2 answers

Serving mercurial on ubuntu 10.10

I've read an enormous amount of articles but I seem to sidetrack more and more the more I try. I'm trying to serve mercurial repos through HTTP. I'm using it together with redmine. I've installed mercurial-server. I've set up a repo that I can't…
Phil
  • 183
  • 11
4
votes
3 answers

How do you handle the default branch in Mercurial?

We've got a repository with two named branches in it: dev and production. There's also the default branch, which we aren't using. Unfortunately, whenever people clone the repository, it automatically puts them on default, and we're having problems…
Chris B.
  • 337
  • 1
  • 8
  • 18
4
votes
1 answer

How to tell Mercurial to never create hard links

I am planning to use Mercurial in the near future on some projects. These projects will normally reside in a directory on my Windows machine, but I will be sharing these directories using VirtualBox so I can work on them directly from within…
scrapdog
  • 153
  • 3
4
votes
1 answer

Delay after commit before Redmine comments ticket

I was used to having a post-commit hook trigger processing of the commit message by Trac (SVN repository). The comment (or action) was added immediately. Now I switched to Mercurial as a VCS and Redmine as a ticketing system. Redmine does recognize…
Paul
  • 1,918
  • 4
  • 18
  • 24
3
votes
4 answers

Mercurial not receiving push

I have a mercurial web-frontend (hgwebdir.cgi) installed on a server, and an installation of nginx was installed in front of it as a reverse proxy to the web-frontend as my friend suggested. However, whenever a large changeset is pushed (via a…
Jeffrey04
  • 145
  • 1
  • 8
3
votes
3 answers

How to upload project with Mercurial on Google Code?

I have create a local directory, and made some sub-directories and file in it. registered by project on code.google.com/hosting install Mercurial and did hg init copied the auto-generated password from Google, still don't know for what. Now how…
Vivek Sharma
  • 465
  • 2
  • 5
  • 14
3
votes
2 answers

Large repositores (hg or git)

I'd like to use hg or git for repo with size in about 5gb. Are they work proper on repo with such a big size?
user64449
3
votes
2 answers

Read access control with Mercurial and Apache

I've set up Mercurial via Apache (hgwebdir.cgi). I would like to have the same functionality as when using Subversion and AuthzSVNAccessFile, in which I can restrict which user has read or write permissions for every single repository. The acl…
mgv
  • 133
  • 5
1 2
3
8 9