Showing posts with label webrev. Show all posts
Showing posts with label webrev. Show all posts

Saturday, May 09, 2009

Git support for webrev

During recent months I was heavily using Git (as a part of the project I am doing for one my customers). At first it was quite a rough experience after getting used to Mercurial, but after some time I learned to appreciate the great power Git puts in my fingertips. It takes time to learn how things are done the "Git" way, but once you are there you do not really want to go back to Mercurial.

So one day I decided to switch all my OpenSolaris related development to Git. First thing was having a Git clone of the ON repo. I used hg-fast-import utility (available at git://repo.or.cz/fast-export.git). After doing some coding and I wanted to generate a webrev, but unfortunately webrev doesn't understand git. So I decided to add git support to webrev.

And here we go http://cr.opensolaris.org/~imp/git_support. This webrev is generated by git-enabled webrev from git repo !

This stuff still requires more work and a lot of polish, but all the basic functionality is in.

For those brave souls that want to test it SUNWonbld package is available for download.