remote-hg: fix for older versions of python
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 28 Nov 2012 01:01:33 +0000 (02:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Nov 2012 02:04:00 +0000 (18:04 -0800)
commit1e310551e7e3a2efe41cbe1bc0a6b919cd6f7d34
tree99dc107dda30f8557e6d0b4f8c85bf12a2ef4cef
parent418673c4bc48c0b54856449739023b4f978ea235
remote-hg: fix for older versions of python

As Amit Bakshi reported, older versions of python (< 2.7) don't have
subprocess.check_output, so let's use subprocess.Popen directly as
suggested.

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