# HG changeset patch # User Matt Mackall # Date 2007-06-23 18:33:45 # Node ID 06a0e0557edc128720623de50966b9328cad9150 # Parent 8c3d449ecc63090d18d3f7d8cc1afbfe0cefa13c convert: sometimes git forgets the author diff --git a/hgext/convert/git.py b/hgext/convert/git.py --- a/hgext/convert/git.py +++ b/hgext/convert/git.py @@ -82,6 +82,7 @@ class convert_git(converter_source): tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:] tz = -int(tzs) * (int(tzh) * 3600 + int(tzm)) date = tm + " " + str(tz) + author = author or unknown c = commit(parents=parents, date=date, author=author, desc=message) return c