Questions tagged [mercurial]

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

Filter by
Sorted by
Tagged with
56 votes
6 answers
176k 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> ...
Jader Dias's user avatar
  • 4,745
4 votes
1 answer
829 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 ...
scrapdog's user avatar
  • 153
1 vote
2 answers
849 views

How do I know if 'hg clone' is doing the work remotely?

I've got a very simple Windows install of Mercurial on my machine. The 'central' repository is located at //mymachine/hg-repos/central. I want remote (VPN) users to be able to create clones of this ...
jjfine's user avatar
  • 123
9 votes
1 answer
7k views

Can Mercurial repositories safely be moved/renamed/etc.?

Can I move the directory a local Mercurial repository is contained in without breaking it, or does it know where it lives and expect it to live there forever? (Coming from SVN with its switch/...
Kev's user avatar
  • 984
5 votes
1 answer
2k views

Mercurial set per user rights

I would like to set better user access to my mercurial repos trough the cgi web interface. This is my current hgweb.config : [web] contact = first.lastname description = HG Repos allow_push=user1,...
Kami's user avatar
  • 1,444
6 votes
1 answer
2k views

Acessing a mercurial repository on a shared host over SSH

I have a shared hosting account with SSH access. I have set up a virtual Python installation and have copies of the system folders in $HOME: ~/bin, ~/lib ... I have installed mercurial through ...
Leonard Ehrenfried's user avatar
4 votes
1 answer
1k views

Delay after commit before Redmine comments ticket

I was used to having a post-commit hook trigger processing of the commit message by Trac (SVN repository). The comment (or action) was added immediately. Now I switched to Mercurial as a VCS and ...
Paul's user avatar
  • 1,988
4 votes
3 answers
705 views

Version Control and Backup, which combination?

I'm a sole developer and I have 3 computers. Plus a friend of mine has an account, but never uses it. My current setup is GIT + my own ad hoc backup job that clones the repository, zips it, gnupg it, ...
neoneye's user avatar
  • 143
14 votes
4 answers
1k views

Mercurial repository corruption

This is somewhat related to this question but is a different question. We have a central Hg repository, served to users via SSH and mercurial-server. We have a number of Mac, Linux and Windows ...
bobinabottle's user avatar
1 vote
1 answer
295 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 ...
brianegge's user avatar
  • 1,074
1 vote
3 answers
189 views

About dedicated code repository server and others

Do you have a dedicated server for the code repository? I am trying to convince my colleagues to switch from SVN to Git or Mercurial in order to make merging less painful and I am wondering if it's ...
hyperboreean's user avatar
3 votes
4 answers
1k views

Mercurial not receiving push

I have a mercurial web-frontend (hgwebdir.cgi) installed on a server, and an installation of nginx was installed in front of it as a reverse proxy to the web-frontend as my friend suggested. However, ...
Jeffrey04's user avatar
  • 145
15 votes
5 answers
4k 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 ...
Zote's user avatar
  • 473
2 votes
1 answer
445 views

Correcting "Python support for SSL and HTTPS is not installed"

I was working with mercurial tonight on Apple's OS X (10.5), and received this error message while attempting to clone from a repository over SSL: Python support for SSL and HTTPS is not installed ...
Michael Gorsuch's user avatar
5 votes
2 answers
2k views

Will mercurial work properly with multiple users using a single working copy on a share

I'm looking for a solution where I can install version control in a corporate environment in the least intrusive way possible. One possible solution I was considering was getting mercurial set up on ...
Steven Noble's user avatar
11 votes
2 answers
3k views

How to setup etckeeper with Mercurial in Ubuntu?

I'm interested in installing etckeeper with Mercurial in my Ubuntu system. My reason is that I don't know how to use Git and don't want to learn at the moment. If I check the package description it ...
Deleted's user avatar
  • 1,832
2 votes
5 answers
224 views

What Linux version should I use for serving a VCS?

Hi I am looking for a Linux distribution that conforms to my following requirements. This machine will be basically a server box for my software development. I need to install Mercurial and Subversion ...
Brock Woolf's user avatar
3 votes
3 answers
1k views

How to upload project with Mercurial on Google Code?

I have create a local directory, and made some sub-directories and file in it. registered by project on code.google.com/hosting install Mercurial and did hg init copied the auto-generated password ...
Vivek Sharma's user avatar
8 votes
3 answers
2k views

Stopping pushers from breaking my central Mercurial repository [closed]

I'm running the central mercurial repository, and I understand that the normal "push" command will stop if the remote user is trying to force multiple "head"s to my central repository. The intention ...
user9748's user avatar
  • 267
4 votes
3 answers
1k views

Where is hgweb.cgi in the Mac OS X deployment of Mercurial?

I'd like to serve a CGI-based Mercurial repository from my OS X machine, but I cannot for the life of me find the hgweb.cgi file, which I assume is step 1 of the process. My Mercurial installation ...
Chris R's user avatar
  • 533
3 votes
2 answers
1k views

Read access control with Mercurial and Apache

I've set up Mercurial via Apache (hgwebdir.cgi). I would like to have the same functionality as when using Subversion and AuthzSVNAccessFile, in which I can restrict which user has read or write ...
mgv's user avatar
  • 133
3 votes
3 answers
520 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 ...
user9748's user avatar
  • 267
4 votes
3 answers
3k views

Hosting multiple repositories, each with differing access control

We will need to host a series of Mercurial repositories. For security, we will use SSL encryption in Apache and htpasswd access (required). I tested out a single repository and used hgwebdir.cgi and ...
user9748's user avatar
  • 267
8 votes
11 answers
1k views

Git and Mercurial

I would like to know: What's the difference between Git and Mercurial? What are the pros and cons of using them? How good is the Windows support for both tools?
Michael Ellick Ang's user avatar
11 votes
5 answers
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 ...
Jon Cahill's user avatar

1 2
3