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

learn more… | top users | synonyms

15
votes
2answers
1k views

Mercurial Repository structure with heavyweight corporate comms, configuration management & test requirements

I am yet another Subversion user struggling to re-educate myself in the Tao of distributed version control. When using Subversion, I was a big fan of the project-minor approach, and, with most of my ...
12
votes
6answers
941 views

Using SVN poorly - is Mercurial the answer?

At work we use SVN, but in name only. We don't branch or merge. We keep two copies of the repository, one serving as the "tag" branch that gets copied when we do a deployment and kept for bug fixes ...
3
votes
4answers
843 views

Using Mercurial repository inside a Git one: Feasible? Sane?

I am thinking on creating a Mercurial repository under a Git repository. e.g. ..../git-repository/directory/hg-repo/ The 2 repositories Is it possible to manage (keeping your sanity)? How similiar ...
27
votes
6answers
2k views

Which DVCS (git or hg) is easier for programming students? [closed]

A bit of context: I'm in 3rd year of college. students are divided into teams of 4. Almost everyone will be working under windows (except a few like me who are on linux). As part of the school ...
1
vote
3answers
712 views

What to do with .git folder and data in Xcode?

I am using Hg for my development. Recently, I upgraded to Lion and Xcode 4.2 and I have created a Xcode project in my source tree. The Xcode by default uses Git and created .git folder in the project ...
3
votes
3answers
236 views

Managing one-off scripts using DVCS

As a research scientist, I divide my code broadly into (1) Cohesive projects and (2) one-off scripts that perform an isolated task. I manage code from category (1) using a DVCS like git or hg in ...
1
vote
2answers
386 views

What can be done to stop losing resources and unify Mercurial and Git? [closed]

Both Mercurial and Git were created as a replacement for the same program and to solve the same problem which you can read about in Martin Beckett's answer to How did Git and Mercurial develop so ...
6
votes
1answer
262 views

What is a good toy project to teach an introduction to DVCS?

Context I will be coaching student's programming projects in my engineering faculty (group of <10 students). At this occasion I wanted to draw the student's attention to the usefulness of version ...
2
votes
2answers
76 views

Source control approach for plugins?

I'm writing an application and a set of many small plugins—where “many” means dozens and “small” means one or two sources. It's not necessarily going to be possible to divide the plugins into neat, ...
10
votes
9answers
439 views

What's the best way for me to get started using version control in an opensource project?

It was suggested that I take my project open source due to its size and my lack of skills, so I checked out Google Code, and started making a project and now it's asking me if I want the project to ...
5
votes
2answers
1k views

Having a Git repo and mercurial in the same directory

Ill explain my problem, I am currently using an in-house install of gitorious using git. I would like to begin testing FogBugz and Kiln from Fog Creek which uses mercurial. I would like to for at a ...
4
votes
1answer
180 views

Switching from SVN to Mercurial: one repository or many?

We currently have a large Subversion repository, with a tree like: root /libraries /library1 /trunk /library2 /trunk /solutions /solution1 ...
8
votes
2answers
516 views

Big source tree refactor ahead - what tool to use?

We are doing a major refactor of the layout of our source tree. Masses of files are being moved, folders are being renamed, etc. etc. We currently have everything in SVN. We're going to move to ...
5
votes
2answers
224 views

How to effectively manage source control for project with both open and closed source?

I'm currently working on a project that has both an open-source "community edition" and a set of closed-source features for paying clients. One of the pain-points right now is figuring out how to ...
10
votes
1answer
439 views

How did Git and Mercurial develop so similarly at the same time?

Git and Mercurial follow similar models and have similar terminology. Mercurial's initial release was was only 12 days after Git's. How did these two projects, in initial development at the same ...
77
votes
23answers
10k views

Why did Git get so much hype? …while others don't? [closed]

In the recent years, the hype around Git raised greatly. Everybody knows about Git, nobody knows about alternatives. Other ones like Mercurial seem to be unnoticed. Both have been released in 2005, ...
4
votes
3answers
139 views

Where should the description about branches in a VCS be stored?

If you maintain many branches in your favorite version control system it is essential understand which branch for which indented. In SVN you can put README on same level as trunk/branches/features ...
2
votes
3answers
455 views

Easy way to serve mercurial? [closed]

I am currently using TortoiseHg on windows. I want my server to be available automatically as it is switched on. But I need to do these: when I set up a new project, I need to enter the ...
3
votes
1answer
511 views

Getting started with version control and its integrated project management?

I am given the charge of finding a version control + project management setup, and also training and maintenance, in addition to my regular jobs; I will be known as "the git guy" (or whatever) from ...
9
votes
9answers
2k views

Bitbucket and a small development house

I am in the process of finally rolling Mercurial as our version control system at work. This is a huge deal for everyone as, shockingly, they have never used a VCS. After months of putting the bug in ...
4
votes
6answers
693 views

How to set up for selective pushing with Mercurial?

I have a situation, when I'm working on a project, but at same time small issues arise which require quick fix. I would like to push just the fixes for these problems to the main repo while keeping ...
21
votes
5answers
938 views

We're Subversion Geeks and we want to know the benefits of Mercurial

Having read I'm a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS. I have a related follow up question. I read that question and read the recommended links ...
9
votes
2answers
2k views

Can I migrate a clone of Google Code repository into Github?

I want to create a clone of a Google Code repository, which I cannot download due to Country restrictions and I want to migrate that clone into Github, which I can use without any problem. The thing ...
6
votes
1answer
1k views

Mercurial branch or rebase?

After using mercurial daily for over a year, we are about to find a better workflow for our DVCS. Inspired by a successful Git branching model we are about to move away from our "push daily work into ...
9
votes
2answers
816 views

Do large mercurial repositories suffer from a “push race”?

Reading a few "Why a DVCS is better" answers to several question on Programmers.SE they all seem to say that in general, DVCS is better since you don't have a commit race in large projects, IE commit, ...
4
votes
4answers
362 views

Understanding my dvcs workflow

We are going to be building a new project using Mercurial as our version control system. I'm still trying to fully understand what my workflow should look like, so I've listed below a case that I ...
7
votes
3answers
508 views

Hosted Mercurial with Project Management tools

I have used a couple of the hosted SCM's like Unfuddle and Codespaces before and I like that they have Project Management tools built in. I've started using Mercurial and really like it, I would like ...
25
votes
6answers
2k views

How to choose between git and Mercurial

Both Git and Mercurial are DVCS, and that's great. I wonder if there is a list of particular situations when one of those systems are preferable, something like 'In mobile development for many ...
4
votes
7answers
566 views

Version control management of large projects

I'm used to version control, in particular I currently use Mercurial. I have some doubts about how to make it work in large teams, where there is a good probability of having more people working on ...
14
votes
6answers
1k views

Should a developer be allowed to use VSS if he prefers it?

I introduced Mercurial to my department. I love it, but it is my first version control experience. I am using it with NetBeans PHP for web development. Another developer who works on internal company ...
5
votes
4answers
487 views

Recommended guidelines for Mercurial setups

I've just recently installed mercurial, and have been playing around it with. Overall, it seems like a great way to do version control. However, the distributed nature of its architecture makes it ...
6
votes
4answers
598 views

How do you manage minor changes that you want to keep local in mercurial?

I'm considering migrating a 14 year old cvs repository (history intact) to mercurial. I think I've got all the technical conversion bits down, but I still have some questions about working effectively ...
2
votes
1answer
104 views

Can I change the name of a project in codeplex before publishing?

I started a project repo on codeplex and haven't publicly published it yet. I realized that the name I gave to it is not appropriate and would like to change the name of the project before publicly ...
9
votes
3answers
2k views

Why is bitbucket popular in eastern europe? [closed]

I was looking at google trends for bitbucket and github, and it seems bitbucket leads github in Romania, Bulgaria, and Latvia. Why is this so? Are there any historical reasons for this?
3
votes
3answers
661 views

using svn and mercurial in eclipse for same project

Is it possible to have in eclipse 2 "team providers" for same project. E.g. svn and mercurial? So svn will be used to commit to central repository, and mercurial only to work on my PC. E.g. when I ...
2
votes
4answers
321 views

Versioning millions of files with distributed SCM

I'm looking into the feasibility of using off-the-shelf distributed SCMs such as Git or Mercurial to manage millions of XML files. Each file would be a commercial transaction, such as a purchase ...
3
votes
3answers
447 views

Where to find Hg/Git technical support? [closed]

I would like to out who provides technical support (commercial) for two major DVCS's of today: Git and Mercurial. This is for a place where they've been using Subversion for some time and now they're ...
18
votes
2answers
4k views

Recommended process for code reviews with mercurial

We typically used Perforce and SmartBear's Code Collaborator at Big Corp and now we're also going to be using Mercurial for certain projects. Code Collaborator support Mercurial (we are using ...
1
vote
1answer
182 views

Using branches for a mini project or module of project: Good practice?

In my repo I have 3 closely related mini projects: 1 server and 2 clients. They are all quite small (<3 files each). Since they are so small and so closely related I just dropped them in folders in ...
250
votes
11answers
23k views

I'm a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS?

I try to understand the benefits of distributed version control system (DVCS). I found Subversion Re-education and this article by Martin Fowler very useful. Mercurial and others DVCS promote a ...
26
votes
11answers
1k views

Business case for decentralized version control systems

I searched and couldn't find any business reasons why git/mercurial/bazzr systems are better than centralized systems (subversion, perforce). If you were trying to sell a DVCS to a non-technical ...
5
votes
3answers
556 views

Choosing a diff program for Mercurial

I decided to try to contribute Firefox development, and they use Mercurial for source control. In the documentation about using Mercurial it was advised to choose a diff program and to do it before ...
7
votes
3answers
672 views

mercurial or tfs for codeplex?

I've been working on a .NET personal project for a little while now and it's almost ready to go open source. I've decided (arbitrarily) to host it on codeplex. Codeplex offers TFS or mercurial. I'm ...
14
votes
3answers
2k views

Good naming convention for named branches in {DVCS} of your choice

We're integrating Mercurial slowly in our office and doing web-development we started using named branches. We haven't quite found a good convention as far as naming our branches though. We ...