remote-hg: implement custom checkheads()
commit19a8cefc44b216db5cf8faf790d197c85db6395e
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:29:50 +0000 (24 21:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 15:02:04 +0000 (28 08:02 -0700)
treef5f7fe1765b6bf5f2399c6218d5ade85e264b448
parent4f37bdbdb6229931c464b99eb9f6e198de01d0a7
remote-hg: implement custom checkheads()

The version from Mercurial is extremely inefficient and convoluted, this
version achieves basically the same, at least for our purposes.

No functional changes.

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