remote-hg: try the 'tip' if no checkout present
commit55dd56e042f96832327e07ee500a60db7fd244b9
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 12 Nov 2012 17:41:07 +0000 (12 18:41 +0100)
committerJeff King <peff@peff.net>
Mon, 12 Nov 2012 20:34:53 +0000 (12 15:34 -0500)
treeb4dceb1491720bf3a1161ad62cab606388edc414
parentcc8433fad1f64ffaa9c1b8274c79f14419c42f78
remote-hg: try the 'tip' if no checkout present

There's no concept of HEAD in mercurial, but let's try our best to do
something sensible.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
contrib/remote-helpers/git-remote-hg