Skip to content

Commit

Permalink
Fix import of broken committers
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <[email protected]>
  • Loading branch information
noschinl authored and felipec committed May 17, 2016
1 parent 114804f commit 517ceb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-remote-hg
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def export_ref(repo, name, kind, head):
if 'committer' in extra:
try:
cuser, ctime, ctz = extra['committer'].rsplit(' ', 2)
committer = "%s %s %s" % (cuser, ctime, gittz(int(ctz)))
committer = "%s %s %s" % (fixup_user(cuser), ctime, gittz(int(ctz)))
except ValueError:
cuser = extra['committer']
committer = "%s %d %s" % (fixup_user(cuser), time, gittz(tz))
Expand Down

0 comments on commit 517ceb9

Please sign in to comment.