Improved efficiency of hg cloning.

Added ``-r tip`` which is similar to git's ``--depth 1``.