hg clone -r tip myrepo mynewrepo
aptitude install mercurial-git
aptitude install python2.5-dev python-setuptools
easy_install hg-git