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

The one from mercurial does a ton of things we are not interested in,
and we need some special modifications which are impossible otherwise.

Most of the code is borrowed from Mercurial, and cleaned up, but should
be functionally the same for our purposes, except that multiple heads
are not detected.

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