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

learn more… | top users | synonyms (1)

4
votes
2answers
634 views

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 ...
0
votes
2answers
686 views

Why do users get an HTTP 404 error when attempting to clone a Mercurial repository over HTTP?

The repository is hosted on my PC. I use Apache with WAMP and TortoiseHG. I have setup users and passwords and they are able to browse the repository in their browsers after entering their usernames ...
3
votes
2answers
466 views

Disabling command substitution in shell

I have an ssh box that runs Subversion and Mercurial services. On connection to this box, a script verifies that the user is only running mercurial or svn related commands: #!/bin/bash # ...
4
votes
4answers
375 views

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 ...
0
votes
1answer
238 views

Auto update changeset hook fails with status -1 [closed]

I am using Mercurial SCM over a LAN using a normal shared folder instead of HTTP. I'm having a problem getting the auto update hook to run. I have entered this hook as detailed in the FAQ. This ...
1
vote
1answer
129 views

HTTP commit notifications from a Mercurial repository?

I would like to achieve a behavior similar to the NotifyExtension of Mercurial, except that instead of an email to be send, it would be an HTTP request to be performed on a specified URL. Does anyone ...
1
vote
2answers
291 views

Is it possible to refer to an external .hgrc file?

Is there any way for me to refer to an external configuration in Mercurial? Our repository is on a shared drive so at the moment the last user to use it is the username it keeps since by default hgrc ...
1
vote
2answers
378 views

Mercurial internal Setup on Windows 7 - Exception happened during processing of request from

Hy, i have 1 central repository and many locals. On my machine i have local and a central repository too. I can make clone/commit/update/push/pull very easy between the local and central repository ...
6
votes
2answers
3k views

What's the difference between Mercurial's “tip” tag and the “default” branch

We are just switching to Mercurial where I work this week. I'm starting to read material, and was hoping somebody could succinctly answer this question: What's the difference between Mercurial's ...
1
vote
4answers
248 views

Would You Host Source Control Server Like This?

I want to host an SVN server (or git or mercurial or whatever). I have two options: Install it on a small box sitting in the office closet, only connected to the LAN. Install it on a server at a ...
10
votes
7answers
455 views

Where to maintain central source repository?

What is the industry best practice regarding securing access to source code? I am thinking SSL only connections via apache allowed over to our server on an obscure port that doesn't conflict with ...
2
votes
4answers
794 views

Git vs Mercurial server on Windows

I am deciding between setting up a Mercurial or Git server (via HTTPS) on Windows Server 2008. I have heard that Git support is sketchy for Windows client use, but haven't heard much (that are up to ...
2
votes
2answers
2k views

Can redmine create repos on its own?

I've setup redmine and have working mercurial repositories. The hg repos are located in /home/hg/repos so I've set hg as owner to be able to push. Is it possible to make redmine automatically ...
4
votes
2answers
559 views

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 ...
2
votes
1answer
172 views

Pulling mercurial repo - getting 406

I installed Redmine on an Ubuntu machine and have created a project which uses Mercurial as version control. The Redmine application is the root of my Apache config. So redmine.domain.com goes ...
1
vote
3answers
907 views

How can I install Mercurial on my Windows Server 2003/08?

I'd like to install Mercurial on my Windows Server. I can use either 2003/2008 depending on which is easiest to install on. Thanks for the help fellow neckbeards!
7
votes
2answers
470 views

Mercurial Web Server

Is there a Mercurial equivalent to VisualSVN Server? I want to setup an http web server for a mercurial repository that has nested repositories. Using the docs it's very difficult to get what I want.
3
votes
3answers
805 views

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 ...
1
vote
1answer
177 views

Mercurial clone ignore the ignored

So i have a local clone and a central repository. Now I need to create local clones from the main clone and use them. The problem is the clone command is ignoring the ignored files (like it should). ...
1
vote
1answer
287 views

mercurial hgwebdir error with basicauth in apache2

I'm having kind of a strange error that I'm trying to track down. I was trying to setup mercurial on my home server this weekend. I seem to have it running up to the point where I'm trying to get ...
3
votes
2answers
190 views

How does mercurial-server handle requests

Background I'm currently using LShift's mercurial-server to host some mercurial repositories. It looks like the number of repositories as well as their size is expected to grow tremendously. To ...
4
votes
1answer
511 views

How do I enable ZIP/TAR/BZ2 Download Buttons in my Mercurial HGWEB?

I recently got Mercurial running on my server, shared via Apache. When I browse to the repos via the web, I see a list of my repositories with Atom/RSS links, but no download buttons. My question ...
1
vote
1answer
73 views

File Removes take forever in Mercurial

We recently migrated to Mercurial and, on the whole, the performance is dramatically better than its predecessor (Vault). One thing that is very slow though, is file deletions. If someone pushes a ...
6
votes
2answers
415 views

In Mercurial, how can I tie a bunch of commits to a single issue in our bugtracker?

We currently use svn and, through the user of hooks, are able to ensure that every commit message is prefixed by a bug-number (which ties those commits to a problem report in our Bugzilla issue ...
2
votes
1answer
200 views

Mercurial existing Active Directory integration failing for a new user

We've got an existing Mercurial server running under Windows 2008/IIS that is using Active Directory for authentication. We have three existing users that have no problems at all with Mercurial. ...
4
votes
2answers
164 views

Is it possible to keep the .hg directory in custom location

I want to have a Mercurial repository set, but instead of having the .hg/ directory under the repository tree, I would love to move it somewhere away (like to other partition) from working copy. Is ...
2
votes
1answer
483 views

Mercurial - Get directory structure without cloning/operate on remote repository directly?

I was wondering if there is any way to operate on a remote repository directly with mercurial? I am building a Dreamweaver Mercurial plugin, and I would like to be able to list directories without ...
2
votes
1answer
749 views

Why can't my TeamCity installation work with Mercurial when it works fine from the command line?

I am having trouble adding a Mercurial VCS root to a TeamCity Project. When I enter the repository information and click 'Test Connection' the pop-up says 'Connection Failed', shows me a message ...
2
votes
1answer
614 views

Repository file structure on server

For each public server we have three stages: development, testing, and production. Each of these stages is a web server. I am using named branches in Mercurial to complement this process. The trick is ...
2
votes
4answers
328 views

Mercurial - Set a Repository Root?

I am setting up a Mercurial repository layout, and have a directory with all the repositories in it. /var/vcroot/link/[repository] As SSH is the only way I know of to access Mercurial remotely, I ...
8
votes
2answers
395 views

Mercurial browser on Windows 2003 takes several refreshes before displaying repositories

When attempt to browse my Mercurial repositories it usually takes several refreshes before the repository list is displayed. The configuration is as follows: Windows Server 2003 (Dedicated machine ...
6
votes
5answers
7k views

How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?

I have used Puttygen to create a public and a private key, and I'm now ready to let TortoiseHg on Windows 7 do a clone by going to ssh://somebody@code.somewhere.com/somecode but there seems to be ...
2
votes
1answer
859 views

Controlling clone access to multiple mercurial repos served via hgwebdir.cgi [duplicate]

Possible Duplicate: Read access control with Mercurial and Apache I'm trying to host multiple Mercurial repositories for my clients. I need to control access to each repository individually ...
1
vote
2answers
2k views

Nginx wont send POST to FastCGI backend, but GET works fine?

Not sure why, but it is happy sending a GET to the FastCGI backend (Mercurial hgwebdir in this case), but simply resorts to the filesystem if the request is a POST. Relevant parts of nginx.conf: ...
3
votes
2answers
555 views

Mercurial simultaneous access

We have a Mercurial repository (the stable branch) on a mapped network drive (Windows). I want to know what happens if more than one user attempts to push at the same time. Or if someone pulls while ...
18
votes
2answers
7k views

Setting Mercurial with Active Directory authentication and authorisation

I am evaluating the possibilities of moving my organisation to Mercurial, however I am stumbling on two basic requirements which I can't find proper pointers to. How do I set up Mercurial's central ...
1
vote
1answer
409 views

Mercurial with Trac on mod_wsgi

I'm trying to set up a Trac environment running on Apache+mod-wsgi+Mercurial. I've set up everything according to the install docs. However, when I open up the URL to my Trac environment I get: ...
1
vote
2answers
73 views

How to setup Secure SemiPublic Revision Control System

I have a windows server with a project configured with a revision control system. Suppose it's GIT or SVN or .... Suppose there are 10 people around the globe working on this project. The first ...
5
votes
4answers
312 views

Mercurial repositories hosting with different user access levels

I want to set a few Mercurial 'central' repositories on one machine. There are few things I need to have working though: Each repository should have its own ACL, with different users allowed to ...
3
votes
1answer
1k views

Installing Mercurial 1.5.1 on Debian Lenny

What's the easiest way to install Mercurial 1.5.1 on Debian Lenny? Can I safely install the package from the sid repository using apt-get, or should I compile it from the sources?
3
votes
1answer
1k views

NGINX basic auth only for POST

I'm settings up nginx to serve Mercurial repositories. It works when not using basic authentication at all, or when I use basic authentication all over. What I want to do is to just use basic auth on ...
27
votes
6answers
76k views

How to configure basic authentication in Apache httpd virtual hosts?

I'm trying to configure mercurial access using Apache http. It requires authentication. My /etc/apache2/sites-enabled/mercurial looks like this: NameVirtualHost *:8080 <VirtualHost *:8080> ...
2
votes
1answer
540 views

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 ...
1
vote
2answers
688 views

How do I know if 'hg clone' is doing the work remotely?

I've got a very simple Windows install of Mercurial on my machine. The 'central' repository is located at //mymachine/hg-repos/central. I want remote (VPN) users to be able to create clones of this ...
6
votes
1answer
3k views

Can Mercurial repositories safely be moved/renamed/etc.?

Can I move the directory a local Mercurial repository is contained in without breaking it, or does it know where it lives and expect it to live there forever? (Coming from SVN with its ...
15
votes
3answers
3k views

In Bash, are wildcard expansions guaranteed to be in order?

Is the expansion of a wildcard in Bash guaranteed to be in alphabetical order? I am forced to split a large file into 10 Mb pieces so that they can be be accepted by my Mercurial repository. So I was ...
3
votes
1answer
1k views

Mercurial set per user rights

I would like to set better user access to my mercurial repos trough the cgi web interface. This is my current hgweb.config : [web] contact = first.lastname description = HG Repos ...
5
votes
1answer
925 views

Acessing a mercurial repository on a shared host over SSH

I have a shared hosting account with SSH access. I have set up a virtual Python installation and have copies of the system folders in $HOME: ~/bin, ~/lib ... I have installed mercurial through ...
4
votes
1answer
1k views

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 ...
4
votes
3answers
606 views

Version Control and Backup, which combination?

I'm a sole developer and I have 3 computers. Plus a friend of mine has an account, but never uses it. My current setup is GIT + my own ad hoc backup job that clones the repository, zips it, gnupg it, ...