git-remote-testgit: fix error handling
commit460d10262dae14b54123ff45e7548d872ff63983
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 16 Jul 2011 13:03:31 +0000 (16 15:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2011 18:17:47 +0000 (19 11:17 -0700)
treee1c53cb7ea5fdf097d80bf305731affdc7e09142
parent0fb56ce716090248ed4895aff69dd3953b00882f
git-remote-testgit: fix error handling

If fast-export did not complete successfully the error handling code
itself would error out.

This was broken in commit 23b093ee0 (Brandon Casey, Wed Jun 9 2010,
Remove python 2.5'isms). Revert that commit an introduce our own copy
of check_call in util.py instead.

Tested by changing 'if retcode' to 'if not retcode' temporarily.

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git_remote_helpers/git/exporter.py
git_remote_helpers/git/importer.py
git_remote_helpers/git/non_local.py
git_remote_helpers/git/repo.py
git_remote_helpers/util.py