# HG changeset patch # User Paul Aurich # Date 1240627577 25200 # Node ID 0fa60b773da6c31255569a0d0ca3ab705a5f5ea2 # Parent 234128693c29767e9a8e7237bf1990dd27c089d9 Fix _WHO_AND_WHEN_RE to handle Full Names diff -r 234128693c29 -r 0fa60b773da6 fastimport/parser.py --- a/fastimport/parser.py Fri Apr 24 19:46:17 2009 -0700 +++ b/fastimport/parser.py Fri Apr 24 19:46:17 2009 -0700 @@ -249,9 +249,8 @@ # Regular expression used for parsing. (Note: The spec states that the name -# part should be non-empty but git-fast-export doesn't always do that so -# the first bit is \w*, not \w+.) -_WHO_AND_WHEN_RE = re.compile(r'(\w*) <(.+)> (.+)') +# part should be non-empty, but git-fast-export doesn't always do that.) +_WHO_AND_WHEN_RE = re.compile(r'([^\<\n]+) <([^\>\n]+)> (.+)') class ImportParser(LineBasedParser):