From: Barry Wardell Date: Wed, 23 Nov 2011 22:12:52 +0000 (+0000) Subject: Support the case where the author field has an empty email address, i.e. it is of... X-Git-Tag: v160415~51 X-Git-Url: https://repo.or.cz/w/fast-export.git/commitdiff_plain/0a9570c6760bf0451a3a448cdd0953a9d9770d03 Support the case where the author field has an empty email address, i.e. it is of the form 'name <>'. --- diff --git a/hg2git.py b/hg2git.py index 72967d2..ecaac17 100755 --- a/hg2git.py +++ b/hg2git.py @@ -13,7 +13,7 @@ cfg_master='master' # default origin name origin_name='' # silly regex to see if user field has email address -user_re=re.compile('([^<]+) (<[^>]+>)$') +user_re=re.compile('([^<]+) (<[^>]*>)$') # silly regex to clean out user names user_clean_re=re.compile('^["]([^"]+)["]$')