Show More
@@ -42,7 +42,8 b' def convert_to_git_user(authormap, user,' | |||
|
42 | 42 | user_person |
|
43 | 43 | ): |
|
44 | 44 | raise error.Abort( |
|
45 |
_(b"Unable to parse user into person and email for revision " |
|
|
45 | _(b"Unable to parse user into person and email for revision %s") | |
|
46 | % rev | |
|
46 | 47 | ) |
|
47 | 48 | if user_person: |
|
48 | 49 | return b'"' + user_person + b'" <' + user_email + b'>' |
@@ -853,3 +853,13 b'' | |||
|
853 | 853 | M 644 :5 nf1 |
|
854 | 854 | M 644 :6 of |
|
855 | 855 | |
|
856 | $ echo foo > of | |
|
857 | $ hg commit --user '<badname> <bad email>' --date 'Fri Jan 02 00:00:00 1970 +0000' -m 'Testcommit' | |
|
858 | $ hg fastexport --import-marks fastexport.marks -r tip | |
|
859 | blob | |
|
860 | mark :50 | |
|
861 | data 4 | |
|
862 | foo | |
|
863 | ||
|
864 | abort: Unable to parse user into person and email for revision 4f71ca786403919cd16669d94ff7cd1c09437a44 | |
|
865 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now