hgext/convert/git.py
changeset 4721 96614af3c679
parent 4687 06a0e0557edc
child 4752 20ec5cc02f18
child 5228 39e6deaa8b81
--- a/hgext/convert/git.py
+++ b/hgext/convert/git.py
@@ -82,7 +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
+        author = author or "unknown"
 
         c = commit(parents=parents, date=date, author=author, desc=message)
         return c