31 August 2009

Google Code repository migrated from Subversion to Mercurial

I've just migrated my Google Code repository to Mercurial because it's more modern and permits local commits before pushing by HTTPS.
So now to get my opensource bin directory i have just to run:
hg clone https://bertux.googlecode.com/hg/ ~/bin
When i've a new script to push to Google Code, i can first add and commit it locally without needing network by running:
hg add ~/bin/new-script.sh
hg commit -m "new script"
And when i've internet access to Google Code by HTTPS, i have to run:
hg push
And with hg it's simpler to fork from it like with git.
See you next time.

No comments: