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
55
votes
6 answers

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 UseCanonicalName Off ServerAdmin …
Jader Dias
  • 4,625
  • 18
  • 48
  • 50
19
votes
2 answers

Setting Mercurial with Active Directory authentication and authorisation

I am evaluating the possibilities of moving my organisation to Mercurial, however I am stumbling on two basic requirements which I can't find proper pointers to. How do I set up Mercurial's central repository to authenticate users with the central…
jbx
15
votes
5 answers

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 tutorial.
Zote
  • 473
  • 1
  • 7
  • 12
15
votes
2 answers

What's the difference between Mercurial's "tip" tag and the "default" branch

We are just switching to Mercurial where I work this week. I'm starting to read material, and was hoping somebody could succinctly answer this question: What's the difference between Mercurial's "tip" tag and the "default" branch?
Dexygen
  • 297
  • 1
  • 3
  • 8
14
votes
4 answers

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 clients connecting to it. It has happened twice now that…
bobinabottle
  • 569
  • 2
  • 7
  • 19
12
votes
3 answers

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 from svn, windows-1251 is default windows…
Selivanov Pavel
  • 2,126
  • 3
  • 23
  • 47
11
votes
5 answers

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 changes through the central repository while…
Jon Cahill
  • 646
  • 9
  • 7
11
votes
2 answers

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 sounds promising: kent@rat:~$ apt-cache search…
Deleted
  • 1,832
  • 7
  • 23
  • 31
11
votes
4 answers

How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?

I have used Puttygen to create a public and a private key, and I'm now ready to let TortoiseHg on Windows 7 do a clone by going to ssh://somebody@code.somewhere.com/somecode but there seems to be no where to add the private key to TortoiseHg? (or…
nonopolarity
  • 535
  • 3
  • 6
  • 17
10
votes
7 answers

Where to maintain central source repository?

What is the industry best practice regarding securing access to source code? I am thinking SSL only connections via apache allowed over to our server on an obscure port that doesn't conflict with anything else. The thing that bothers me is storing…
user59587
9
votes
1 answer

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 hg: $ hg -bash: /usr/bin/hg: No such file or…
floorish
  • 253
  • 5
  • 9
8
votes
3 answers

Stopping pushers from breaking my central Mercurial repository

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 is that the remote user should first pull and…
user9748
  • 267
  • 2
  • 5
8
votes
5 answers

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 how to effectively organize it. What I seek…
8
votes
2 answers

Mercurial browser on Windows 2003 takes several refreshes before displaying repositories

When attempt to browse my Mercurial repositories it usually takes several refreshes before the repository list is displayed. The configuration is as follows: Windows Server 2003 (Dedicated machine hosted by http://www.server4you.com/. Site has…
Tim Murphy
  • 137
  • 6
8
votes
11 answers

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
  • 1,839
  • 3
  • 13
  • 15
1
2 3
8 9