🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.

Andreas Ek
Mar 6, 2010
  6232
(0 votes)

Mercurial

Emil Cardell opened my eyes to a Distributed Version Control System called Mercurial. Its really awesome!
Mercurial (or HG in abbreviation) is an open-source DVCS. Everything in this blog post is downloadable for free.
A competitor to HG is Git.

Yes, of course, you are kind of brain damaged by TFS and SubVersion so perhaps its hard to try something else ;-) But I will get you some keys why you should.

Note! Read the following guide to get a introduced to HG: http://hginit.com/.

The base site for Mercurial is http://mercurial.selenic.com/ and you could get education via http://hgbook.red-bean.com/ but…
I suggest that you skip the links and go directly to the main tool for Windows, TortoiseHG. It will install the Mercurial base system to your computer and wont force you into cryptic commands.

vt_history

TortoiseHG works similar to Tortoise for SubVersion with Explorer integration. Its possible to get a plugin to VS with http://sharesource.org/project/visualhg/.

VS

Your project is file based and HG only save files. You create a repository in your explorer and starts adding files to it. When you are done coding you commit your changes to the code base. When its time to share your changes you make a synchronization to a clone of the code base repository. You could choose a hosted repository or just make a file copy if you want to. My first HG-project used DropBox to share the common repository and it worked just fine.

00-hg
After a while you get conflicts between your and your colleges changes and the changesets needs to be merged. With TortoiseHG you get a visual map over resent changes.

HGTrack 

In this case its really easy but the graphical view gives you an advantage.

The conflicts is solved automatically or by hand with a text-diff-tool included. Don’t you worry, you will make it!

This is why you should consider HG:

  • A different view of revisions and merges
  • Support large development teams
  • Easy-to-use and great -tools
  • No central version control system needed and supports loosely coupled developer teams
  • No more fear for checking in code, if its bad the other team members just will ignore you ;-)
  • Supported by CodePlex and TeamCity
  • Its free

It would be nice to hear your opinion!

Mar 06, 2010

Comments

Please login to comment.
Latest blogs
The missing globe can finally be installed as a nuget package!

Do you feel like you're dying a little bit every time you need to click "Options" and then "View on Website"? Do you also miss the old "Globe" in...

Tomas Hensrud Gulla | Feb 14, 2025 | Syndicated blog

Cloudflare Edge Logs

Optimizely is introducing the ability to access Cloudflare's edge logs, which gives access to some information previously unavailable except throug...

Bob Davidson | Feb 14, 2025 | Syndicated blog

Comerce Connect calatog caching settings

A critical aspect of Commerce Connect is the caching mechanism for the product catalog, which enhances performance by reducing database load and...

K Khan | Feb 14, 2025

CMP DAM asset sync to Optimizely Graph self service

The CMP DAM integration in CMS introduced support for querying Optimizly Graph (EPiServer.Cms.WelcomeIntegration.Graph 2.0.0) for metadata such as...

Robert Svallin | Feb 13, 2025