Skip to content
Snippets Groups Projects
Commit ccd38138 authored by Ehsan Akhgari's avatar Ehsan Akhgari
Browse files

Improve the parsing of author lines from Mercurial to generate committer and...

Improve the parsing of author lines from Mercurial to generate committer and author lines that git can correctly understand

Signed-off-by: default avatarEhsan Akhgari <ehsan.akhgari@gmail.com>
---
I found a number of bugs when I was trying to convert Mozila's hg repository
to git using hg-git.  This patch fixes a number of bugs with irregular
author lines present in hg repositories.  Git cannot correctly process a
commit object which has a committer or author line in a format that it does
not understand, which makes it not be able to handle the repositories
with have such commit objects.

The added test cases shows the irregular cases that this patch is able to
deal with.
parent 83f248dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment