remote-hg: simplify branch_tip()
commit611024e606c8019d348ab1821a1fbb1898384a25
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:29:53 +0000 (24 21:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 15:02:05 +0000 (28 08:02 -0700)
treee7841785bfce8fc7632756ed36e509272a505ff9
parentd3c460b5b43ab67de894c9d3b6d6ce20f3f00070
remote-hg: simplify branch_tip()

It simply picks the last head that is not closed, but we have a stored
list of open heads.

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