Posts Tagged ‘git’

Project Locker Project Hosting

March 1st, 2009

It looks like a new service has entered the project hosting market – Project Locker. Its already crowded with 10 major SVN hosts but this one looks promising. It provides Git, SVN version control and Trac hosting too. The level of integration with other services seems quite impressive too.
Their pricing model seems quite reasonable and as is customary they offer free accounts of 2 users and 300Mb storage. This gives you the option to produce as many repos as you want! How many repos this will give you I’m not sure but its a good start.

Mercurial vs Git

November 16th, 2008

Personally I’m more a fan of Mercurial with the main reason being: Portability.

As far as I know Git still has problems handling Windows which is something Mercurial has never had to worry about.  So I can switch between multiple different environments without worrying about my SCM falling down.

Another reason is the name and the command: hg vs git.  Hg sounds better than git.  It looks better.  Its less to type.

But its not about me or my bias – its about cold hard facts so here they are:

Git

Pros Cons
  • Lots of features
  • More hosting options.
  • Faster – slightly.
  • GitHub.
  • Solid local branch support.
  • Poor Windows support
  • Rubbish logo
  • Silly, long SHA1 hash of revisions.
  • You need to keep ‘packing’ the repo
  • History fiddling.

Mercurial

Pros Cons
  • Portable
  • Its built with Python
  • Easily extensible using Python
  • Cool logo
  • Better documentation.
  • Local integer revision numbers on top of the SHA1
  • No need to keep packing/optimising.
  • Smaller repo footprint.
  • Better patch support (bundles and such)
  • Easy to learn.
  • Smaller feature set.
  • Few 3rd party hosting options.
  • Fewer 3rd party apps and plugins.
  • Smaller community.
  • Slower development.

Who Uses What

Mercurial Git
  • Mozilla
  • OpenSolaris
  • Aptitude
  • Netbeans
  • Dovecot
  • Linux Kernel
  • Google Android
  • Beryl
  • Fedora

Who Needs What

Mercurial is great for people who want to dive into distributed version control and get busy.  Its clean, fast and easy to learn.  With a small footprint and single binary its the Zen of DVCS.

Git is for monstrous geeks and crack whores who like to wrestle with their tools before settling into using them.  If you never use Windows and really really wanna use GitHub like all the cool kids then use Git.

Discuss?

I’m always open to feedback – as long as you agree with me.

…but Mercurial is even better

May 10th, 2008

Mercurial LogoI posted the other week about how great Git is – It took a while for me to get the point.  I’m generally the last to figure this stuff out so forgive me if I’m preaching to the converted.  For anyone still unconvinced this video presentation by Linus about Git helped a lot.  It was the point at which he said: “no politics, no access rights”.  Sweet, sweet freedom.  It suddenly dawned on me how simple and easy it’s been to manage my Git repos.

This was again compounded when I had to implement a patch in my Asterisk PHP API which is Subversion hosted.  As the current version was out of date the patch failed so needed to be done manually.  If on the other hand we’d been using Git or Mercurial I could simply Pull the contributors changes.  Nice and simple!  No fuss, no bother, just get on with it.

So now to the point of my post: Mercurial.

Now Git was great but I think I’ve found a new friend in Mercurial.  Although Mercurial is still lacking in some areas (named branches still can’t be deleted nicely) I think it’s future is much brighter.  For starters its ported to more platforms.  This is an advantage gleaned form it being developed in Python.  Which is my major point here – being in Python makes it nicer, easier and cleaner to deal with.  Writing extensions to Hg is a snap with a nice built-in API.  So its immaturity in features is more than made up for its potential.

It has all the advantages of Gits distributed methodology but with the flexibility to grow beyond its existing state easily and rapidly.

Free Mercurial Hosting

Git and Mercurial Hosting

April 6th, 2008

With all the clammering for free SVN hosting at the moment its easy to forget there are other services available.  I wanted to try out Mercurial and Git since they recently became increasingly popular and with Rails switching to Git it just begged to be given a try.

Well here’s a few free source hosting services using alternatives to Subversion.

I’m still unconvinced of the distributed source repository method.  Maybe I need to be part of a larger development team but for small teams (3-4) located geographically close it seems pointless to use distributed.  Unless someone’s found it to be useful otherwise?