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

learn more… | top users | synonyms

0
votes
0answers
29 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
52 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 ...
0
votes
1answer
43 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 ...
3
votes
2answers
303 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 ...
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 ...
0
votes
1answer
296 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
0answers
138 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 ...
0
votes
1answer
144 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
435 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
38 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
46 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
246 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
1answer
100 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). ...
0
votes
1answer
355 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
280 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
653 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] ...
6
votes
3answers
717 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 ...
1
vote
1answer
623 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 ...
2
votes
1answer
115 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
79 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
515 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?
0
votes
2answers
208 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
312 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
324 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 ...
2
votes
0answers
442 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 ...
1
vote
1answer
214 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 ...
2
votes
1answer
370 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 ...
1
vote
1answer
178 views

Have static web content and Mercurial server under the same URL

I'm looking for a way to display static HTML content using an Apache 2 webserver while also having a Mercurial repository under the same URL. E.g. under http://www.myserver.org/projectname there ...
6
votes
3answers
3k 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 ...
2
votes
1answer
1k views

hg: command not found

I'm sure you guys are sick of questions of the "XX: Command not found" variety, so my apologies for adding another to the stack, but here it goes. I'm trying to create a tarball of a compiled install ...
2
votes
1answer
84 views

How to reject Mercurial user if userid not matched with Apache authentication?

Presently we are serving Mercurial Repository (hgweb) behind the Apache server, when user pushes changes to Apache it is authenticated by userid/password (pwauth). How to restrict the push to user ...
2
votes
1answer
263 views

How to arrange for backup of local commits in Mercurial?

We are migrating from SVN to Mercurial and this question has arised practically from day one. So, here is the given: Shared Mercurial repository residing on a dedicated server, which is continuously ...
4
votes
3answers
945 views

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

Web application deployment - checkout or not

When deploying a Python web application what are the pros and cons of using the following methods to deploy the application: Use the VCS to make a checkout on the server Use FTP/SSH/rsync to ...
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 ...
1
vote
1answer
173 views

Hudson Mercurial checkout throws exception on Debian

I'm trying to configure Hudson to checkout my site's sources from Mercurial but it throws an exception. The /var/lib/hudson/jobs/jobname directory does exist, and I can create a workspace directory in ...
2
votes
1answer
139 views

Replace Mercurial username with Apache authenticated one

I have an Debian 6 x64, python 2.6, Apache 2.2, Mercurial 1.8. Mercurial is accessed over HTTPS, python uses mod_wsgi, Apache performs "Authentication: Basic" with mod_authnz_external. What I need is ...
7
votes
1answer
932 views

Can't find binary, but path included in $PATH

So I tried to install Mercurial on Ubuntu 10.04. First I used the ppa repo, but got a pythonpath error, which I gave up on. Next try was install from source, everything went well, except it can't find ...
1
vote
1answer
291 views

Mercurial HGWeb not working with UNC path on windows

I have recently started moving some HG repos to a network drive. The HG web setup worked perfectly when the repos were on the local drive. Old Setup: C:\Repos\repo1 C:\Repos\repo2 ...
8
votes
5answers
857 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
1k views

Authenticating with Mercurial server without supplying credentials to prompts or in .hgrc file

I have a Windows 2008 R2 IIS7 server with Mercurial under HTTPS. I connect to the Mercurial Repositories using TortoiseHG and via the web interface. If I don't have my username and password in the ...
1
vote
2answers
664 views

How can I tell if Mercurial is Installed?

I am using another developer's Ubuntu box and trying to tell if Mercurial is installed and working. As @stew pointed out, I did the 'dpkg -l mercurial' command and got this: ...
1
vote
1answer
751 views

Traceback when configuring hgweb.cgi to serve Mercurial repositories

I am having trouble having my hgweb.cgi script successfully read my hgweb.config file. It fails with the error Abort: /var/www/hg/hgweb.config: not a Mercurial bundle file. Details below ...
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 ...
2
votes
2answers
1k views

How to configure mercurial access controls using apache and hgweb?

I have set up a mercurial repo to be served using apache+wsgi+hgweb on OS X. It is now completely open to anyone who stumbles upon my server on the correct port number.. How can I set it up so that ...
2
votes
2answers
163 views

Are there any known security vulnerabilities to the built-in mercurial server?

I'm considering whether to use the built-in hg serve or to bother with configuring it with apache etc. The mercurial server will be potentially running on either Debian or OS X 10.5 My main ...
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. ...