Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Andreas Ek
Mar 6, 2010
  6220
(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
Level Up with Optimizely's Newly Relaunched Certifications!

We're thrilled to announce the relaunch of our Optimizely Certifications—designed to help partners, customers, and developers redefine what it mean...

Satata Satez | Jan 14, 2025

Introducing AI Assistance for DBLocalizationProvider

The LocalizationProvider for Optimizely has long been a powerful tool for enhancing the localization capabilities of Optimizely CMS. Designed to ma...

Luc Gosso (MVP) | Jan 14, 2025 | Syndicated blog

Order tabs with drag and drop - Blazor

I have started to play around a little with Blazor and the best way to learn is to reimplement some old stuff for CMS12. So I took a look at my old...

Per Nergård | Jan 14, 2025

Product Recommendations - Common Pitfalls

With the added freedom and flexibility that the release of the self-service widgets feature for Product Recommendations provides you as...

Dylan Walker | Jan 14, 2025

My blog is now running using Optimizely CMS!

It's official! You are currently reading this post on my shiny new Optimizely CMS website.  In the past weeks, I have been quite busy crunching eve...

David Drouin-Prince | Jan 12, 2025 | Syndicated blog

Developer meetup - Manchester, 23rd January

Yes, it's that time of year again where tradition dictates that people reflect on the year gone by and brace themselves for the year ahead, and wha...

Paul Gruffydd | Jan 9, 2025