Mercurial is a fast, open-source, distributed version control system.
6
votes
1answer
97 views
Big project layout : adding new feature on multiple sub-projects
I want to know how to manage a big project with many components with version control management system.
In my current project there are 4 major parts.
Web
Server
Admin console
Platform.
The web ...
3
votes
3answers
237 views
Can you close branches in Git?
In Mercurial you can close a branch like this: hg commit --close-branch, this means the the branch will not be listed anymore but will still exist, and can still be listed if you use hg branches ...
6
votes
3answers
216 views
How do distributed version-control systems deal with fragmentation?
Here is the scenario:
X is the author of a software. X releases v1.0 on an open source license on Github and moves on. People interested in the software fork and improve the software. Now there are ...
4
votes
2answers
184 views
When to separate a project in multiple subprojects
I'd like to know if it makes sense to divide the project I'm working on in two repositories instead of one.
From what I can say:
Frontend will be written in html+js
Backend in .net
The backend ...
2
votes
3answers
255 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 ...
4
votes
2answers
108 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 ...
1
vote
3answers
131 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 ...
8
votes
6answers
453 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 ...
6
votes
3answers
350 views
Branching breaks continous integration?
I think this article, A Successful Git Branching Model, is very well known among experienced DVCS users.
I use hg mostly, but I would argue this discussion is fine for any DVCS.
Our current ...
80
votes
11answers
18k views
Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?
Almost every article I've read 1 comparing Git and Mercurial it seems like Mercurial has a better command line UX with each command being limited to one idea only (unlike say git checkout).
But at ...
-2
votes
4answers
511 views
What's so difficult about SVN merges? [duplicate]
Possible Duplicate:
I’m a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS?
Every once in a while, you hear someone saying that distributed version ...
2
votes
2answers
349 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 ...
1
vote
2answers
158 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 ...
-3
votes
1answer
223 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 ...
3
votes
2answers
229 views
Is Perforce as good at merging as DVCSs?
I've heard that Perforce is very good at merging, I'm guessing this has to do with that it tracks changes in the form of changelists where you can add differences across several files in a single ...
11
votes
5answers
326 views
Why not commit unresolved changes?
In a traditional VCS, I can understand why you would not commit unresolved files because you could break the build. However, I don't understand why you shouldn't commit unresolved files in a DVCS ...
7
votes
3answers
481 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
3answers
696 views
How to organise projects with dependencies on BitBucket?
Both Mercurial and BitBucket make one fundamental assumption: 1 repo = 1 project.
If I have a project that has a dependency (a library) which is shared by many projects, this assumption gets in the ...
2
votes
1answer
138 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
301 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 ...
7
votes
4answers
785 views
Is it a good idea to install Mercurial on your server and hg pull to deploy?
I've just started at a new job this past month and looks like they have NO source control for their code. They are relying on the backups their hosting provider takes for them.
After talking a bit I ...
9
votes
2answers
377 views
Any reasons not to use multiple version control systems?
I'm working on a project which uses GIT as the main version control system for trunk, the official branches and most sub-projects/unofficial branches. As such, I want to make my own branch use GIT to ...
7
votes
2answers
361 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 ...
0
votes
4answers
246 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 ...
18
votes
4answers
1k views
I am a git user confused by mercurial's branching. How am I supposed to track small changes?
I've always used git before, but I want to contribute to python so now I have to learn mercurial and I find it very frustrating.
So, I've made a couple of small patches and I wanted to track them as ...
-2
votes
2answers
343 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 ...
2
votes
1answer
135 views
HG: fork web app project to separate API code from app code
I have a web app thats been in active development for about 8 months now and its becoming apparent that the project has a need to maintain a separation between app specific code and our OO Javascript ...
8
votes
2answers
219 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
323 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 ...
6
votes
3answers
307 views
Mercurial release management. Rejecting changes that fail testing
Researching distributed source control management (specifically mercurial).
My question is more or less what is the best practice for rejecting entire sets of code that fail testing?
Example:
A team ...
20
votes
6answers
1k 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
1answer
861 views
Why do Git/Mercurial repositories use less space?
I've read on several discussions here and on SO that DVCS repositories use about the same or less space than their centralised counter-parts. I may have missed it, but I haven't found a good ...
1
vote
2answers
187 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 ...
5
votes
4answers
1k 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
4answers
302 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, ...
3
votes
2answers
456 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 ...
4
votes
3answers
252 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 ...
7
votes
3answers
321 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
359 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
327 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?
5
votes
3answers
435 views
Moving from a CVCS to a DVCS in a big company, what is the right way to do it?
Major Edit: Added more info about how the devs are setup and how a DVCS would help, so you don't have to second guess the DVCS (but you are still welcome to do it =P).
I just started a new job and ...
2
votes
4answers
128 views
Source control workflow for managing a software platform
I'm in charge of a software platform, written in C, that is used to provide a variety of projects to clients. I am trying to improve the workflow for people using this platform, and looking at ...
5
votes
2answers
2k 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?
17
votes
2answers
3k views
Empirical Evidence of Popularity of Git and Mercurial
It's 2012! Mercurial and Git are both still strong.
I understand the trade-offs of both. I also understand everyone has some sort of preference for one or the other. That's fine.
I'm looking for ...
14
votes
2answers
741 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
894 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 ...
2
votes
4answers
659 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
1k views
Which DVCS (git or hg) is easier for programming students?
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
569 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
181 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 ...
