remote-hg: add remote tests
commite6e803be79123dff163900c5a55e556cf6d6c9c0
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:29:39 +0000 (24 21:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 14:59:57 +0000 (28 07:59 -0700)
treedbb57e016f0b72fd67fc1bd1cd3293495e244929
parent731ce6cf75d304bc14c1ee0ad45e5846f5db6834
remote-hg: add remote tests

The logic when working with a local repository is totally different from
the one where we work with a remote repository; we need to pull and push
from it.

All this logic is currently not tested at all, so let's introduce a
variable to force the remote behavior.

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