diff options
author | Barry Wardell <barry.wardell@gmail.com> | 2011-11-23 22:12:52 +0000 |
---|---|---|
committer | Frej Drejhammar <frej.drejhammar@gmail.com> | 2011-11-26 15:07:43 +0100 |
commit | 0a9570c6760bf0451a3a448cdd0953a9d9770d03 (patch) | |
tree | 970f82ae820d6b6530e92ebbd65d28870635560a | |
parent | 3e00d99d39ae885c97f78a0ce116f09e2d8d221e (diff) | |
download | hg-fast-export-0a9570c6760bf0451a3a448cdd0953a9d9770d03.tar.gz |
Support the case where the author field has an empty email address, i.e. it is of the form 'name <>'.
-rwxr-xr-x | hg2git.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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('^["]([^"]+)["]$') |