Questions tagged [mercurial]
Mercurial is a fast, open-source, distributed version control system.
125
questions
1
vote
0
answers
37
views
How to configure group based LDAP access to Mercurial
I currently have LDAP authentication configured for Mercurial using the following Apache configuration:
<Location /hg>
AuthBasicProvider ldap
AuthType basic
AuthName "...
1
vote
0
answers
32
views
Determining which Mercurial version which created a repository
I have a rather large Mercurial web server (ie. running under hgweb.wsgi) that's outgrown the distribution it was built-on... which basically means that I've already started doing upgrades of Python, ...
0
votes
1
answer
47
views
Hg ssh redirect
We would like to transfer HG traffic from one server to another. Because we are using DNS alias which we need to keep for another purposes.
We need to redirect requests for cloning/checkouting etc. ...
2
votes
0
answers
147
views
Mercurial error while connectin on Bitbucket after updating TLS
So bitbucket upgade his TLS version and now I have problem pulling from bitbucket repos. I have only one server affected and I can't figure out what is wrong.
The error is
[SSL: WRONG_VERSION_NUMBER] ...
0
votes
1
answer
61
views
Mercurial authorization failure after sending data
I need some help solving a bit of a tough issue i have been having with Mercurial and pushing data over HTTP/HTTPs for the past few days. Initially I tried setting this up as just HTTP, but kept ...
0
votes
1
answer
101
views
Resolve a contradictory conflict in /etc tree (mercurial-based etckeeper)
I have an /etc file tree which is managed by etckeeper, based on Mercurial.
After running apt-get dist-upgrade, I want to revision the changes which have been applied by the upgrade.
However, when ...
1
vote
1
answer
131
views
vcsrepo puppet module not using user parameter for mercurial
I have a server that relies on puppet vcsrepo to update code in a local mercurial repository based on a tag.
When I change the required tag, using the vcsrepo "revision" parameter, vcsrepo should do ...
0
votes
1
answer
547
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
1
answer
37
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 non-...
1
vote
1
answer
156
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 ...
5
votes
2
answers
784
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
2
answers
80
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
1
answer
441
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
0
answers
374
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 ...
1
vote
1
answer
405
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
2
answers
723
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
0
answers
57
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
1
answer
122
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 ...
1
vote
2
answers
776
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
1
answer
123
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
1
answer
484
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
1
answer
668
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
1
answer
64
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
1
answer
1k
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
3
answers
1k
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 ...
2
votes
1
answer
1k
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
1
answer
169
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
1
answer
96
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
2
answers
1k
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
2
answers
647
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
1
answer
324
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
2
answers
506
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
0
answers
717
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
1
answer
284
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
1
answer
939
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
1
answer
250
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 ...
12
votes
3
answers
5k
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
1
answer
6k
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
1
answer
96
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
1
answer
700
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
3
answers
2k
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
1
answer
154
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 transfer ...
5
votes
3
answers
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
1
answer
197
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
1
answer
165
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 ...
9
votes
1
answer
5k
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
1
answer
471
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
5
answers
1k
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
1
answer
2k
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
2
answers
4k
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:
Desired=Unknown/Install/...