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
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
  • 2,039
  • 3
  • 14
  • 15
8
votes
1 answer

NGINX basic auth only for POST

I'm settings up nginx to serve Mercurial repositories. It works when not using basic authentication at all, or when I use basic authentication all over. What I want to do is to just use basic auth on POST requests, so anyone have pull access, but…
hokkaido
7
votes
2 answers

Mercurial Web Server

Is there a Mercurial equivalent to VisualSVN Server? I want to setup an http web server for a mercurial repository that has nested repositories. Using the docs it's very difficult to get what I want.
6
votes
3 answers

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 finish overnight. Furthermore, we want to be able to…
Andrew Neely
  • 189
  • 11
6
votes
2 answers

In Mercurial, how can I tie a bunch of commits to a single issue in our bugtracker?

We currently use svn and, through the user of hooks, are able to ensure that every commit message is prefixed by a bug-number (which ties those commits to a problem report in our Bugzilla issue tracker.) We wish to move to mercurial with all of its…
Peter Howe
  • 203
  • 2
  • 9
6
votes
2 answers

Is it possible to keep the .hg directory in custom location

I want to have a Mercurial repository set, but instead of having the .hg/ directory under the repository tree, I would love to move it somewhere away (like to other partition) from working copy. Is it possible to do in such a way?
kender
  • 287
  • 1
  • 5
6
votes
4 answers

Mercurial repositories hosting with different user access levels

I want to set a few Mercurial 'central' repositories on one machine. There are few things I need to have working though: Each repository should have its own ACL, with different users allowed to push/pull It shouldn't be ssh-based (it shouldn't…
kender
  • 287
  • 1
  • 5
6
votes
1 answer

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 easy_install and everything is groovy: The hg executable…
Leonard Ehrenfried
  • 371
  • 1
  • 3
  • 8
5
votes
2 answers

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 each of the windows desktops and just setting up…
Steven Noble
  • 383
  • 1
  • 2
  • 12
5
votes
2 answers

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 having is that hg pull fails, even though when I…
robjohncox
  • 1,045
  • 1
  • 8
  • 7
5
votes
1 answer

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). One of the issues raised by IT was compliance and…
dukeofgaming
  • 619
  • 1
  • 7
  • 15
5
votes
3 answers

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 interface, etc...). How would you do this? Are there any…
gotch4
  • 275
  • 1
  • 3
  • 8
5
votes
1 answer

How do I enable ZIP/TAR/BZ2 Download Buttons in my Mercurial HGWEB?

I recently got Mercurial running on my server, shared via Apache. When I browse to the repos via the web, I see a list of my repositories with Atom/RSS links, but no download buttons. My question is, how do enable the purple "ZIP", "TAR", "BZ2"…
caseyamcl
  • 153
  • 3
5
votes
1 answer

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…
Kami
  • 1,424
  • 13
  • 25
4
votes
3 answers

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, and send it to a remote ftp. This has worked…
neoneye
  • 143
  • 5
1
2
3
8 9