hgext/convert/git.py
changeset 4684 06a0e0557edc
parent 4536 cc9b79216a76
child 4721 96614af3c679
--- a/hgext/convert/git.py	Sat Jun 23 12:05:00 2007 +0200
+++ b/hgext/convert/git.py	Sat Jun 23 13:33:45 2007 -0500
@@ -82,6 +82,7 @@
         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