changeset 4721:96614af3c679

convert: "unknown" is a string
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 25 Jun 2007 18:52:12 -0300
parents 72fb6f10fac1
children 487943b52a6c
files hgext/convert/git.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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