I'd go with the majority of reviews on here so far. If you're working primarily in a Windows environment I think Mercurial is much more straightforward than Git simply because, as another post mentioned, it all works from the one installer for TortoiseHg.
The big advantage both have over SVN is as everyone mentions, the ability to have local commits which can then be pushed up to a more centralised repository if required.
Although I still love SVN because it is so ubiquitous and easy to find information about, it can be quite cumbersome to work with especially if the central repository is based in another part of the world and you have to constantly access it to update and commit.
In reality this is more a discussion about centralised versus distributed revision control systems... and what ecosystem support you want from your IDE, bug tracking, continuous integration systems and so on...
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Git v Mercurial
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Git v Mercurial"
Collapse
-
Bump.
PermieCo finally made the jump to Mercurial after talking about it for 6 months. It's all quite interesting; the local repository way of working certainly is a big improvement, if slightly confusing at times. What's not so good is TortoiseHg, which I assumed was just going to be TortoiseSVN built on a different base. But no - it's the worst kind of Open Source afterthought GUI you could imagine, and like all GUIs that work by running a command line program, it's extremely clunky, you don't get useful progress, you don't get useful errors, etc. etc.
And errors generally are a problem. Pretty soon you'll do a "push" and you get some terrifying message about creating two heads. What it actually means is "your repository is out of date", so why can't it say that?
As a comparison, I've been playing with GIT and TortoiseGIT (which has at least been copied from TortoiseSVN with the same style dialogs). They work in an identical way as far as I've seen, but Git does generally seem to do things in one step whereas Hg needs two. And the Git error messages are generally less unfriendly.
However, minus several marks for Git for ease of setup. For Hg you just download TortoiseHg and it works, but downloading TortoiseGit doesn't just work, you need to go download GitW, which then, get this, compiles itself. Why can't these people understand that normal people want to run a normal install program and just start using the software?
So my review: they do the same thing, but Git wins by having less bad GUI tools, assuming you're a human and want to use a GUI that is. The only plus point of Hg is that it has a simple webserver to share changes, but small teams can probably use file shareing to easily acheive the same thing with Git.
But having used TortoiseSVN as my main method of source control for years now, the user experience is very poor for both. It's a shame, but these are bad examples of open source: tools written by über-geeks for über-geeks.
Leave a comment:
-
Originally posted by xchaotic View PostThe difference is if circumstances force you to move away from the traditional model - think you have to commit on a plane or anywhere offline - I couldn't get any signal (not even plain GPS, nor travelodge's own overpriced wifi) at Stansted Travelodge so not an uncommon scenario.
With mercurial I just kept commiting to a local repo and merged the history of changes next week.
With SVN it would be an untracked big lump of changes.
Leave a comment:
-
The question just like others have mentioned should be centralised VCS vs distributed one so SVN vs Mercurial/Git/etc.
The thing is if you are starting a new project you should start with a DVCS.
You can still use it like a plain old SVN - just designate one repository to be the 'central' one and the commands or shells (tortoise) are pretty much the same.
The difference is if circumstances force you to move away from the traditional model - think you have to commit on a plane or anywhere offline - I couldn't get any signal (not even plain GPS, nor travelodge's own overpriced wifi) at Stansted Travelodge so not an uncommon scenario.
With mercurial I just kept commiting to a local repo and merged the history of changes next week.
With SVN it would be an untracked big lump of changes.
Leave a comment:
-
Despite people getting all stiff over DVCS, I'm still quite happy with SVN though.
Leave a comment:
-
Many thanks, excellent replies.
Yes, I'd also heard Mercurial is more Windows-friendly, or was - I think git has pretty much caught up now.
Leave a comment:
-
I was looking at this last week:
Stack Overflow:- What is the difference between mercurial and git
Git vs. Mercurial: Please Relax
The Differences Between Mercurial and GitLast edited by Sysman; 18 January 2011, 12:30.
Leave a comment:
-
I'd say "I don't know the differences, but I can tell you the difference between standard and distributed VCS". I think Mercurial is more Windows-friendly, is that true? And Kiln is based on Mercurial. Comparing two very similar products seems pointless unless it's a sysadmin type role?
Git Vs SVN is a whole world of change, that's for sure. Here's one low-brow article (he sells Kiln so it's biased though): Distributed Version Control is here to stay, baby - Joel on Software
Leave a comment:
-
Git v Mercurial
If an interviewer asked you to compare and contrast git versus Mercurial what would you say?
I haven't used either very much. But my impression is that Mercurial is slightly simpler, whereas git is a bit more flexible.
What if the interviewer threw SVN into the pot, and asked you to comment on that with reference to the other two? Obviously the repository is more centralized; but I wonder if there are other significant differences.
Anyone have any decent web references on this topic? Sometimes it's good to have detailed replies off pat to this kind of potential interview question.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Is an unpaid umbrella company required to pay contractors? Today 09:28
- The truth of umbrella company regulation is being misconstrued Yesterday 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
- IT contractor demand floundering despite Autumn Budget 2024 Nov 11 09:30
Leave a comment: