/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to parser.py

  • Committer: James Westby
  • Date: 2008-03-07 14:49:01 UTC
  • mto: (0.64.56 fastimport_trunk)
  • mto: This revision was merged to the branch mainline in revision 6631.
  • Revision ID: jw+debian@jameswestby.net-20080307144901-5x7qwre2h2p75gte
The space between the author and email is optional in committer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
 
251
251
# Regular expression used for parsing. (Note: The spec states that the name
252
252
# part should be non-empty but git-fast-export doesn't always do that so
253
 
# the first bit is \w*, not \w+.)
254
 
_WHO_AND_WHEN_RE = re.compile(r'(\w*) <(.+)> (.+)')
 
253
# the first bit is \w*, not \w+.) Also git-fast-import code says the
 
254
# space before the email is optional.
 
255
_WHO_AND_WHEN_RE = re.compile(r'(\w*) ?<(.+)> (.+)')
255
256
 
256
257
 
257
258
class ImportParser(LineBasedParser):