PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

Using Mercurial to Get CodeIgniter 2.0

Posted by teejay on March 17, 2010

Ever since I've been working with CodeIgniter, I've always checked out the SVN, but this year, Ellislab, decided to pull the plugs on SVN and move on the Mercurial for a lot of reasons, namely:

  • some of which becomes heavier in proportion to the distance between team members, and as both your projects and team increase in size
  • Commits and diffs become laborious on even the fastest of networks
  • The size of the repository balloons if you try to use basic features of branches and tagging
  • Renaming and moving files is a pain, and can jam up your fellows’ repositories

This move prompted me to learn Mercurial. So here we go...

Cloning

I don't think there's a 'check out' in Mercurial. The alternative is to clone a repository. The command line would be:

hg clone http://bitbucket.org/ellislab/codeigniter/

Pulling

Aka. Get the latest updates. This may as well be the 'check out' to get the latest commits.

hg pull http://bitbucket.org/ellislab/codeigniter/

I haven't got all the technical know-how about Mercurial yet but I'm trying to learn more. If you're like me and want to learn more about Mercurial, check these Tutorials out:

Categories: Web Development

Tags: codeigniter, mercurial

No Comments

Comments are not allowed