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

learn more… | top users | synonyms

0
votes
0answers
20 views

Ansible mercurial clone hangs on deploy, runs fine on subsequent runs

I have an Anisble playbook that does the following: Launches an EC2 Instance Switches to that instance in a second play within the playbook, and configures the instance for our specific purpose ...
0
votes
1answer
23 views

Mercurial ACL extension: allow all users on all branches except one branch which is only for specific users

I want to use the ACL extension in order to allow only the QA team to make pushes and commits to the stable branch, while putting no restriction on other branches. However, I don't see how to do that ...
-3
votes
1answer
17 views

Specify which mercurial-executable is used for mercurial-server

I'm using mercurial-server. On the server, there are two mercurial executables, one under /usr/bin/hg and the other at a non-standard location. I want that mercurial-server uses the one at the ...
3
votes
3answers
480 views

Implementing anonymous pull but verified-user push via HTTPS

Basically, how do I do it in Mercurial Repository? Currently I've configured the Location in Apache to require SSL, use basic auth, and require valid-user. That's a bit much, as I want to allow ...
0
votes
1answer
37 views

Why does hg choke when I veto resource forks on Samba?

I have a few users using Mercurial over Linux Samba shares, mounted on their Macs. The Samba server has the following veto rules (well discussed both here on this site and elsewhere) to prevent Macs ...
2
votes
2answers
73 views

Downsides of keeping host configuration files public?

I want to keep configuration for several of my hosts in mercurial and back it up, let's say, to bitbucket. Let's say, I have taken some precautions - tuned SSH to accept only keys, tuned pam to hash ...
3
votes
3answers
1k 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 ...
3
votes
2answers
275 views

hg pull from Bitbucket fails when run from cron

I have a local copy of a Bitbucket repo on one of my servers (under the user rob), and I created a script that runs every hour in cron and attempts to pull & update the local copy. The issue I'm ...
0
votes
1answer
272 views

Can saltstack update itself then run highstate

salt stack is being used with bit bucket. there are 2-3 of us who push updates to it occasionaly. I was wondering is there a way where salt stack can get the latests changes from bit bucket then ...
2
votes
1answer
367 views

Python and mod_wsgi path issue

I have an AIX 6.1 system that I've compiled and installed: Apache 2.2.21 (into /usr/local/mercurial) Python 2.7.2 (into /usr/local/bin and /usr/local/lib) mod_wsgi 3.3 (with the AIX fix #1 described ...
2
votes
0answers
126 views

Define user groups and per user access to multiple mercurial repositories inside a global hgrc file

I've set up Mercurial via Apache (debian) (hgweb.wsgi) with LDAP user authentification. I would like to have the same per repository authorization functionality as when using Subversion and ...
6
votes
3answers
2k views

Mercurial convert filename encoding

I have Mercurial repositories running on Apache with mod_wsgi. Repositories have all filenames encoded in windows-1251. This encoding is used for historically reasons: they were converted to mercurial ...
0
votes
1answer
130 views

link mercurial repo to web server

I have the following situation: In the same machine I have a mercurial server and a web server. The project repository is located at /var/hg/repos/myproyect and the public files for web server are in ...
-1
votes
2answers
429 views

How do you install mercurial when mercurial.selenic.com is down? [closed]

I'm trying to install mercurial (the DVCS) but unfortunately http://mercurial.selenic.com is down. Does anybody know of any mirrors I could grab the source from, allowing me to install it. Hopefully ...
2
votes
0answers
37 views

Mercurial storing metadata on OS X

I was searching for convenient incremental snapshot & rollback & show-what-changed solution for my OS X boxes, and ended with simple yet powerful idea — why not create Mercurial repository at ...
1
vote
1answer
41 views

Find out what repositories are available with Tortoise HG?

I run mercurial-server to host hg repositories. I have a windows machine with tortoise hg. Is there any way for tortoise hg to connect to the server to query what repositories are available? The ...
0
votes
2answers
229 views

How to setup a mercurial repo for a public website on apache?

We have apache server which serves a site from public_html/site/ We would like to have a mercurial repo in the same dir, so that we could push our changes directly to the server. So far I setup a ...
5
votes
4answers
344 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 ...
7
votes
2answers
478 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.
18
votes
2answers
8k 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 ...
10
votes
5answers
3k views

How to setup a central repository on a Windows 2008 server

I would like to setup a central Mecurial repository on a Windows 2008 server which only allows both push and pull access to certain users. This is to allow developers working remotely to push/pull ...
8
votes
2answers
399 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 ...
15
votes
5answers
3k views

Mercurial (hg) with active directory

Can I setup Mercurial to authenticate users on Active Directory? In my case, hg can run on Windows, Linux or FreeBSD, but I need to use AD users. Note: if it is possible, then please point me to a ...
4
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 ...
5
votes
1answer
99 views

Compliance in DVCS administration at an enterprise context, what to expect from a transition from a CVCS (Perforce)?

I work in a big multinational company as a software engineer and I'm currently holding a very nice conversation with IT and other developers with regards to adopting a DVCS (Mercurial and/or Git). ...
1
vote
3answers
943 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!
0
votes
1answer
337 views

Mercurial upgrade OpenSUSE Linux

I wanted to upgrade mercurial version on OpenSUSE box. This is what I had test99:~/TEST_AREA/hgplayarea # hg --version Mercurial Distributed SCM (version 1.5) Copyright (C) 2005-2010 Matt Mackall ...
3
votes
1answer
261 views

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 ...
1
vote
0answers
43 views

IIS6 + Mercurial, 404 when browsing repositories

Yes, yet another IIS6 + Mercurial question, but I couldn't find exactly this problem mentioned anywhere. I've set up my Mercurial server on a Win2k3 box with IIS6, using hgwebdir_wsgi, and it does ...
1
vote
1answer
57 views

Installing mercurial on SME server

There doesn't appear to be a yum package, so whats the best way to install mercurial on SME server?
0
votes
1answer
623 views

Mercurial Apache Web Access Gives Me 403 Forbidden Access

after trying to enable mercurial apache web access on my Ubuntu Server 12.04 box, I've got a 403 Forbidden error when accessing http://my.site.com/mercurial with log: [Tue Sep 04 01:20:22 2012] ...
1
vote
1answer
586 views

“DLL Provider failed to initialize” - Mercurial on Windows Server 2008

I'm trying to set up the Mercurial 64-bit client on an Atlassian Bamboo build server. The automated builds were giving errors trying to check code out of Mercurial, so I tried to test it from the ...
6
votes
3answers
689 views

Backup with Mercurial and Robocopy?

The Problem We would like to backup our critical files from several network shares to a removable hard drive. We want to automate the backup so we don't have to remember to run it. It needs to ...
8
votes
5answers
845 views

Hosting multiple repositories (svn, hg, git)

I've recently acquired a dedicated server, and need to move several repositories to it from a source control hosting service. Having not much experience in server administration however I have no clue ...
2
votes
1answer
114 views

Robocopy and Mercurial

I recently took a new job, and one aspects of the job is maintaining the organisation's Umbraco website. The site was not under source control nor was there a testing environment. Changes were made ...
1
vote
1answer
78 views

Do I need to recycle web server after modifying hgrc?

I have setup a Mercurial website in IIS7 using this tutorial: http://mercurial.selenic.com/wiki/HgWebInIisOnWindows I am slowly figuring out all of the options that I can tweak for the served ...
3
votes
2answers
481 views

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?
1
vote
5answers
3k views

Cannot install mercurial properly - PYTHONPATH error

I have a server running on Ubuntu 10.04 on which I wanted to install Mercurial via % sudo apt-get install mercurial It seems to have installed successfully and doesn't show me any error messages. ...
0
votes
2answers
204 views

Why isn't my Mercurial pushed files showing up on my remote server? [closed]

None of my files pushed are showing up on the remote server, even though it said the push was an success. I'm stumped. Can anyone give me a hand?
2
votes
1answer
310 views

How do I setup authentication with Mecurial 1.3.1 on Debian Lenny?

I have been searching, but I couldn't find a tutorial with a step by step guide to creating authentication for Mercurial. From what I have found, a lot of people are pointing to this resource, but it ...
0
votes
2answers
320 views

Setting up SVN server on Windows 7

Short My OS is: Windows 7 Ultimate and IDE is Netbeans. Want to work with 2-3 devs on PHP projects. After research I found that it's possible with GIT. Found this solution. But it's installing apache ...
5
votes
3answers
2k views

How to set up a Mercurial repo like BitBucket on a Linux machine?

I've been using for a while BitBucket as a repo. Now I'd like to set up my own repository and I'd like it to have similar functionalities (in particular I'd like to push, have some kind of web ...
2
votes
0answers
416 views

restrict mercurial repo access

i have a mercurial server i edited access.conf in hgadmin repo as following: deny repo=a/b read user=x/** read user=y/** write repo=a/b user=x/abc write repo=a/b user=y/z but user z still can't ...
2
votes
1answer
579 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
1answer
208 views

hg repo and kbfiles extension

I've used Mercurial repository with kbfiles but now I have to use pure Mercurial. How to convert repo from kbfiles to pure hg? They are not compatible and seem I will lose all history if I not find ...
32
votes
6answers
95k 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
2answers
1k views

Mercurial: How to setup hg-ssh with user/pass?

I need to give certain outside developers access to create Mercurial repositories on our server. However, I don't necessarily want them to have actual SSH logins to browse the server -- or at the ...
1
vote
1answer
250 views

Is it possible to run Mercurial without ssl installed?

I have a Solaris 5.8 machine without OpenSSL. This platform is a real pain to get OpenSSL compiled for, and getting Mordac, our unix admin, to install the Solaris package isn't an option. I'd like ...
1
vote
2answers
412 views

mercurial updated, mod_wsgi runs old version

I have a VPS with Centos 5.5, installed Python 2.6 following Setup Python 2.5, mod_wsgi, and Django 1.0 on CentOS 5 (cPanel) tutorial and Mercurial 1.6 via easy-install. Now I wanted to update to ...
2
votes
2answers
799 views

Mercurial server upgrade woes

I have a central server for my Mercurial repositories. I just created a new repository on the server using hg init myrepo. The version of Mercurial on the server is 1.7.3. From my client, I use hg ...