Questions tagged [mercurial]

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

Mercurial logo

Mercurial is a distributed version control system (DVCS). It is dedicated to speed and efficiency with a sane user interface. The main part of the code is written in Python, with a small part in C. The project is open-source, distributed under the GPL. More information:

Please report bugs to the bug tracker instead of posting them here on Stack Overflow. Otherwise the Mercurial team may not see them, and you will become frustrated from the lack of response.

125 questions
2
votes
0 answers

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 access this repo, any ideas ? Thanks in advance
Eslam
  • 239
  • 2
  • 6
2
votes
2 answers

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 least, I only want to create one SSH account. I like…
Brian Lacy
  • 1,113
  • 4
  • 15
  • 23
2
votes
1 answer

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 here) Mercurial 2.0 (system-wide) However, when…
jasonh
  • 357
  • 2
  • 4
  • 13
2
votes
1 answer

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 of mercurial and python that i can send to…
The Lame Duck
  • 197
  • 1
  • 8
2
votes
1 answer

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 commits by user@myorg.com and must be authenticate…
Sridher
  • 21
  • 2
2
votes
1 answer

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 backed up. Developers pull revisions, work on…
mark
  • 725
  • 3
  • 15
  • 32
2
votes
1 answer

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 a copy of a local checkout Create a proper…
2
votes
1 answer

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 to replace user provided Mercurial username. So…
adontz
  • 337
  • 5
  • 12
2
votes
1 answer

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 .hgrc file, them I'm prompted for my domain…
Ian McShane
  • 123
  • 1
  • 1
  • 4
2
votes
2 answers

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 consideration is security, not performance nor even…
GJ.
  • 529
  • 1
  • 7
  • 21
2
votes
3 answers

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 clone http://myserver/myrepo. The version of…
2
votes
4 answers

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 date) about setting up a central repository on…
user59357
2
votes
2 answers

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 setup repos when "creating" them in the web UI? There's…
Phil
  • 183
  • 11
2
votes
1 answer

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 directly to the Redmine installation where users log in,…
Phil
  • 183
  • 11
2
votes
1 answer

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. Clone/push/pull all work just fine. I was trying to…
1 2 3
8 9