hg-to-git: avoid raising a string exception
commit6376cffaebe40947eea9afb4ae6df05a6ac59ae8
authorMiklos Vajna <vmiklos@frugalware.org>
Sun, 6 Jul 2008 03:15:17 +0000 (6 05:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jul 2008 06:35:11 +0000 (5 23:35 -0700)
tree5cd84ee504acc57e84efa77bc325613d6c5c22f9
parentf45ed32c4067eb617e670da3a73348bba4841f3f
hg-to-git: avoid raising a string exception

This fixes the following warning:
hg-to-git.py:92: DeprecationWarning: raising a string exception is deprecated

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hg-to-git/hg-to-git.py