remote-bzr, remote-hg: fix email address regular expression
authorRichard Hansen <rhansen@bbn.com>
Mon, 18 Nov 2013 04:12:50 +0000 (23:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 21:46:00 +0000 (13:46 -0800)
commit6c68a404e6e9eec850b298f98fa30c5a25aa846e
treec33572888144ca09e92809b0eef24a6d4e1b070f
parentb2bff43170d052cf3a0ecc69dd03c0467b5782d0
remote-bzr, remote-hg: fix email address regular expression

Before, strings like "foo.bar@example.com" would be converted to
"foo. <bar@example.com>" when they should be "unknown
<foo.bar@example.com>".

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