Questions tagged [mercurial]

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

Filter by
Sorted by
Tagged with
3
votes
3answers
590 views

Release Management Tools with DVCS (Mercurial)

My development team is migrating from SVN to Mercurial. Having researched DVCS best practices, it has been suggested that we develop against feature branches of the repo mainline, test them separately,...
3
votes
3answers
6k views

Fixing a push to the wrong branch

I committed and pushed some changes to the wrong branch. I found a way to fix it, but it seems overly complicated. Is this really the easiest way? on the branch that you made your changes, type hg ...
26
votes
6answers
3k views

Is version history really sacred or is it better to rebase?

I've always agreed with Mercurial's mantra 1, however, now that Mercurial comes bundled with the rebase extension and it is a popular practice in git, I'm wondering if it could really be regarded as a ...
4
votes
2answers
155 views

Is it a good idea to create multiple heads with Mercurial? [closed]

I just made a commit that I want to reverse, but I want to keep the bad commit in history. So, I hg update to the previous (good) commit. Then I keep working. This leaves me with a new head: the ...
8
votes
6answers
629 views

hginit - #ifdefs ridiculous

I was reading Joel Spolsky's mercurial introduction when it struck me: "And now what they do is this: each new feature is in a big #ifdef block. So they can work in one single trunk, while ...
299
votes
10answers
39k 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 ...
10
votes
9answers
481 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 ...
4
votes
2answers
3k views

What is the point to namespaces in branches in git?

So I mainly use Mercurial for my projects and I decided to sit down and learn all Git's shenanigans to discover if I'm in the right side (at least for me). I'm learning that git uses namespaces for ...
4
votes
2answers
6k views

How can I get rid of just the untracked files in git? [closed]

In Mercurial I can do this with the bundled Purge Extension and executing the following command: hg purge Also good to get rid of ignored files: hg purge --all I'm curious about the most practical/...
-2
votes
1answer
692 views

Why can Perforce be a better version control system? [closed]

I've seen some people love and some loathe Perforce. As users or administrators with experience with other version control systems (free cookie to the ones with DVCS experience [git, Mercurial]), what ...
8
votes
3answers
3k views

Examples of non open source projects on Bitbucket or Github

Need examples to show management that these are used for source control and effectively backup of projects. They will be concerned about having their source code off-site. If there are good ...
2
votes
1answer
207 views

Can DVCSs enforce a specific workflow?

So, I have this little debate at work where some of my colleagues (which are actually in charge of administrating our Perforce instance) say that workflows are strictly a process thing, and that the ...
3
votes
2answers
1k views

Can an open source solution match or surpass Team Foundation Server's features? [closed]

Team Foundation Server offers a version control system, but with many more side features, such as bug tracking, user stories, project planning, and it is all integrated into visual studio. Someone ...
0
votes
4answers
5k views

Searching in a repository

I'm very new to source control management and one thing puzzles me: is it possible to search through the whole repository for a string? For example I'm tracking one file, which has 100 commits and I ...
7
votes
2answers
1k views

Recommended methodology for working with shared libraries and Mercurial

I work in a small team of developers who all collaborate on several Zend PHP projects. We are using Mercurial with a collection of upstream repositories, as well as Jenkins for centralized testing ...
4
votes
4answers
401 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 ...
-1
votes
2answers
593 views

Am I shooting myself in the foot if I use Mercurial for Rails development?

I'm a Rails developer and I prefer Mercurial over Git. However, I know that the Rails community is very pro-Git. So my question is it possible that my choice of version control system would turn back ...
4
votes
7answers
909 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 ...
10
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 ...
9
votes
2answers
268 views

What is the canonical approach to using a VCS right from a project's infancy?

Background I've used VCS (mainly git) in the past to manage many existing projects and it works great. Typically with an existing project, I would check in each change I make to the code that either ...
8
votes
1answer
518 views

Integrating different branches from external sources into a single Mercurial repository

Edit: Making this even clearer as the bounty is about to expire: is there a way of importing history (pulling from different SCM) directly into a specific branch with Mercurial? I'm currently working ...
1
vote
2answers
253 views

Will the customer benefit from a DVCS in any way?

Some of us can say a Distributed Version Control System (e.g. Mercurial, git) will have a positive impact on developers only out of the experience of using one (under the right conditions: higher ...
16
votes
2answers
2k 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 ...
5
votes
4answers
3k views

Subrepositories (submodules) as a dependency tracking solution - yes or no?

What do you think about SCM-based (subrepositories in mercurial, submodules in git) dependencies management? Is it definitely a good way of managing dependencies? Or definitely bad way? Should I ...
3
votes
2answers
527 views

Are any companies moving from DVCSs to CVCSs? [closed]

Are there any actual business cases that have made any company move from a DVCS to a CVCS (regardless of whether they were on a CVCS originally)?. Other than having a closed mind and rejecting the ...
3
votes
4answers
349 views

Will adopting a DVCS mean there will be a positive impact on development speed?

I was wondering how safe is to say that —because developers are free to version and have better and more organic workflows— code will be delivered faster. A big factor here is team size of course, ...
4
votes
3answers
326 views

Which revision control system to use for 2 semester capstone course? [closed]

For CS undergraduate students working on a 2-semester capstone course without any prior exposure to revision control systems, what would be a good one to use? Desirable qualities would be easy to ...
9
votes
9answers
3k 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 ...
7
votes
3answers
435 views

Training a company to use a DVCS coming from a CVCS mindset, is it as hard as one would think?

So, I'm preparing to consider the outcome of training a lot of people (>25) to use Mercurial coming from a centralized mindset. I've done it with individuals and had success with it, although the time ...
5
votes
2answers
578 views

Is switching from a CVCS to a DVCS a considerable bandwidth save?

So, I'm in a big geographically-distributed company, we use perforce and I'm starting to make the case for a DVCS with a whitepaper I was requested to write. I was thinking that one of the arguments ...
6
votes
3answers
2k views

What is the differences between committing and patching?

I am quite new to source control and would like to know the differences between committing and patching? Also, how/when a patch is use and can it be used on a web application?
12
votes
2answers
8k views

Is there a difference between merges in svn compared to git or mercurial?

From my understanding SVN is 'Easy to branch. Difficult to merge'. Why is that? Is there a difference how they merge?
13
votes
6answers
1k 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
3answers
484 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 ...
1
vote
3answers
1k 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 ...
1
vote
2answers
421 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 ...
2
votes
2answers
93 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
2answers
3k 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
196 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 ...
5
votes
2answers
644 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 ...
11
votes
1answer
531 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 ...
18
votes
2answers
6k 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 ...
16
votes
3answers
4k 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 ...
4
votes
3answers
161 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 ...
3
votes
1answer
564 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 ...
8
votes
4answers
2k 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 ...
7
votes
1answer
2k 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 ...
22
votes
4answers
1k views

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

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
1k 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, ...
7
votes
3answers
594 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 ...