remote-hg: reorganize bookmark handling
commitaaadca28b6148c262385c258c761e166eff6fbeb
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:29:46 +0000 (24 21:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 15:02:04 +0000 (28 08:02 -0700)
tree0887ecce1f4b573f724a79903135f5da9cb33dfa
parent0bf9ee5720c6d98be8bee93ab3e1a80451de767c
remote-hg: reorganize bookmark handling

We don't need to update both internal and remote bookmarks, so let's do
one or the other, and move the shared code earlier, so it's simpler.

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