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

learn more… | top users | synonyms (1)

3
votes
2answers
60 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
0answers
9 views

Using Mercurial as configuration repository for MS SCCM

We are already using Mercurial for storing scripts and configuration files for our Windows infrastructure. I have also been looking at using it for storing SCCM configuration data. Has anyone done it ...
2
votes
1answer
39 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
80 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
71 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
0answers
51 views

First login fails on hglab administrative console

I've set up a Server with Windows 2008R2 and Hglab 0.3.10, which is supposed to be a mercurial server. I've followed the instructions where at the end they say I should head to the website and start ...
0
votes
1answer
73 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
377 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
33 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
31 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
150 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
77 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
246 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 ...
2
votes
1answer
155 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
34 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
50 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?
5
votes
3answers
518 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
398 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
107 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
71 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
286 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
174 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
293 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
280 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
310 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
176 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
327 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 ...
10
votes
3answers
3k views

Is there a Mercurial admin web frontend?

Something like Bitbucket (of course much less feature-rich). It must be able to hold multiple repositories, and be private (i.e. if you don't login, it doesn't show you anything). It should be able ...
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 ...
2
votes
1answer
796 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
74 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
163 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
592 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
120 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
1k 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
156 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
125 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
546 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 ...
0
votes
1answer
223 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
653 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
407 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
636 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
573 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
141 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
2k 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. ...
1
vote
2answers
384 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 ...
1
vote
1answer
258 views

Mercurial hgwebdir configuration URL

I'm setting up an hgwebdir configuration for the first time with Mercurial on apache2. I can see the three repositories I've set up in the first page, and I've figured out how to modify their names so ...
4
votes
1answer
6k views

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 ...