The revisions let you track differences between multiple versions of a post.
Revision of Comparing Version Control Systems : Bazaar vs Mercurial (hg) vs Git from Tue, 2010-03-30 09:46
This article is not finished neither it's cleaned up. I'm writing a migration guide from svn to bazaar for subversion users currently. If you're interested in this topic you might want to subscribe to feed/RSS in order to be notifed whenever i update it with more information.
It's about the sixth years since my first commit using Subversion, Moving from CVS to Subversion was really amazing, Subversion was superior in many ways and it served me well. But the age of centralized version control systems is over, we need much more powerful VCSs to deal with huge projects. Now days we should to be able to work with anyone, on anything, anywhere , at anytime, and also keep track of all this activities.
The age of single all-in-one solution is over in many fields including Version Control Systems, each solution has its own pros and cons and Same applies to VCSs. So in this article i'm going to compare three major DVCSs available. There are many resources available regarding to this topic and each one has pros and cons. But the main issue i have with them is that most of them are outdated because all this DVCSs are under very active development. An issue that exists now, might become a feature! few months later. So i started this article as a research project which means that just like DVCSs it's also under active development :). Anyway if you like to read resources on other sites i suggest you to check the date they've been published before relying on them.
Why did i start with Bazaar ?
I decided to start with Bazaar for several reasons
- It's written with python and for this reason it's much easier to extend and develope than C or C++.
- It's a multi purpose VCS covering several different Use Cases
- It's plugin system is quite easy to use
- It's comes with several great cross platform GUI utilities
Drupal infrastructure team has finally decided to use Git instead of Bazaar. I read most of the comments there which was extremely useful and it clearly confirmed my point of view which i mentioned earlier in this page. Bazaar is the winner at the time of writing this article by both Ease of use and Extensibility. The main reason that they decided to use Git was the number of people willing to help. Evaluation discussion for how to move Drupal.org off of CVS | groups.drupal.org
My main focus on this article is Bazaar but you'll see notes from my friend Antoni who is a Mercusial(HG) user.
Installation
Bazaar
Karmic :
Add this repository for Bazaar gui
(known as bazaar explorer)
ppa:bzr-explorer-dev/ppa
If you're not using Ubuntu Karmic more information here : https://launchpad.net/~bzr-explorer-dev/+archive/ppa
sudo apt-get install bzr bzr-explorer bzr-svn
Integration
Bazaar
Has a plugin for Eclipse, the installation proccess was not as smooth as subversion but i can't say that it was difficult. i had to manually add the bzr binary and plugin folders location and also coinfugre few options (All couldn't be pre configured). But according to BzrEclipse roadmap, it's going to be much better soon. number of feature is also very limited comparing to subversion.
Mercurial
Mercurial is much better integrated with other applications, for example currently netbeans does not support Bezaar. more information here IDEIntegration - Bazaar Version Control
Migration
Obviously any DVCSs without proper migration utilities is useless for most projects, so lets see what each one has to offer.
Bazaar on personal experience using Tweeter! http://www.bzrvsgit.com/
To get started with bazaar as fast as you possible with subversion background : BzrForSVNUsers - Bazaar Version Control and Bazaar for Subversion users — Bazaar Migration Docs
Short Guide for Bazaar To SVN migration
You might want to have look at gui (known as bazaar explorer)
Migrating from Subversion to Bazaar (Including special guide for Sourceforge projects)sudo apt-get install bzr bzr-explorer bzr-svn
Note : Bazaar changes rapidly and free vcs service might no be updatodate, sourceforge uses 1.18 , in this case you'll need create using repo using old format on local before import.
Note : While i was trying to migrate one of my sourceproject from svn to bzr, i came into some very nasty issue due to the difference between server and local bzr version, however bazaar developers say that in 2.x serious and upwards it's no longer a issue. bazaar supports various different tree formats which can causes lots of headaches. this command helped https://sourceforge.net/apps/trac/sourceforge/ticket/517
Roadmap
All major DVCSs are under active development, which means that their roadmap plays an important role in the decision.
Bazaar
Bazaar roadmap And also it looks like that bazaar developers really care about their users ThreeWishes - Bazaar Version Control
Note: , Bazaar also has Bazaar Performance Roadmap
Plugins
Bazaar
Bazaar like the other three supports plugins , in my experience installing Bazaar plugins is as easy as downloading and then extracting it into the plugins folder. That's it. it's even easier even windows.
Notes
There is a nice website for comparing git vs others, very useful. Funny thing is that HG users did the same! but made their point quite clear! Also Git users made another one issues
for Bazaar!There is also another website for comparing Bazaar and Git , they approach is interesting and it's based on personal experience using Tweeter! http://www.bzrvsgit.com/
http://wiki.inkscape.org/wiki/index.php/Working_with_Bazaar
Resources
- BzrExplorer - Bazaar Version Control
- Workflows — Bazaar v2.1.1 documentation
- Bazaar Explorer PPA : “Bazaar Explorer Developers” team
- Publishing a branch — Bazaar v2.0.5 documentation
- Bazaar Explorer PPA : “Bazaar Explorer Developers” team
- testrunner - Run a command before allowing a commit — Bazaar v2.0.x documentation
- xmloutput - XML interface for external tool integration — Bazaar v2.0.x documentation
- Bazaar Explorer in Launchpad
- SvnDump 0.5.0
- Repository Maintenance
- Dump and load foreign subversion repositories using svnadmin and svndumpfilter, Nuxeo Developers Blog
- svn2bzr - Bazaar Version Control
- Bazaar for Subversion users — Bazaar Migration Docs
- BzrForSVNUsers - Bazaar Version Control
- Tutorials/CentralizedWorkflow - Bazaar Version Control
- IDEIntegration - Bazaar Version Control
- assert(♥) - git equivalent to “svn copy” for forking files with history?
- Using Bazaar on Subversion projects — Bazaar Migration Docs
Comments
SourceForge's outdated bzr
Unfortunately your issues with Bazaar seem to be caused by the fact that SourceForge is still running an old version of Bazaar. The format issues all have been resolved as of Bazaar 2.0.
Thanks Jelmer for the
Thanks Jelmer for the tip.
Yes i noticed that after playing with Bazaar for a while. Unfortunately i have to stick with Sourceforge's old Bazaar :(, i hope they upgrade to v2 soon.
I manged to convert one of my projects to Bazaar successfully and i'm writing an easy migration guide for Sourceforge's svn users.
I can't use anything but git
I can't use anything but git cause it's a nightmare to migrate or start another VCS learning curves. I still have second thoughts about Bazaar. btw never heared of directory track feature.
quite useful
Thanks jelmer
Excellent post....I really appreciate this site & thank you so much sharing with us.