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