hg-to-git: improve popen calls
authorMark Drago <markdrago@gmail.com>
Tue, 15 Jan 2008 01:11:19 +0000 (20:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jan 2008 01:24:29 +0000 (17:24 -0800)
commit1bc7c13af9f936aa80893100120b542338a10bf4
treea848cc7e7991cc427339aa184122b4b38ec4bb33
parent3e34526960d26ea9f3e2000d9e2400136d85086a
hg-to-git: improve popen calls

This patch improves all of the popen calls in hg-to-git.py by specifying the
template 'hg log' should use instead of calling 'hg log' and grepping for the
desired data.

Signed-off-by: Mark Drago <markdrago@gmail.com>
Acked-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hg-to-git/hg-to-git.py