Submitter | phabricator |
---|---|
Date | Jan. 10, 2018, 8:22 a.m. |
Message ID | <differential-rev-PHID-DREV-6fnwscdkg75nhxcgxi36-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26631/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/convert/git.py b/hgext/convert/git.py --- a/hgext/convert/git.py +++ b/hgext/convert/git.py @@ -342,13 +342,15 @@ p = v.split() tm, tz = p[-2:] author = " ".join(p[:-2]) - if author[0] == "<": author = author[1:-1] + if author[0] == "<": + author = author[1:-1] author = self.recode(author) if n == "committer": p = v.split() tm, tz = p[-2:] committer = " ".join(p[:-2]) - if committer[0] == "<": committer = committer[1:-1] + if committer[0] == "<": + committer = committer[1:-1] committer = self.recode(committer) if n == "parent": parents.append(v)