remote-hg: add branch_tip() helper
commitaeebca0bd280a67003545d36f1886bfdcd9318fe
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 22 Apr 2013 21:55:13 +0000 (22 16:55 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 22:25:53 +0000 (22 15:25 -0700)
tree298651b8a5452293b70d05d90c73dafa1350a2ca
parent7e31e1fea5c827f392babacef1c8783313eb19c9
remote-hg: add branch_tip() helper

Idea from gitifyhg, the backwards compatibility is how Mercurial used to
do it.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-hg