convert: "unknown" is a string
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 25 Jun 2007 18:52:12 -0300
changeset 4721 96614af3c679
parent 4720 72fb6f10fac1
child 4722 487943b52a6c
convert: "unknown" is a string
hgext/convert/git.py
--- a/hgext/convert/git.py	Fri Jun 08 16:24:43 2007 +0200
+++ b/hgext/convert/git.py	Mon Jun 25 18:52:12 2007 -0300
@@ -82,7 +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
+        author = author or "unknown"
 
         c = commit(parents=parents, date=date, author=author, desc=message)
         return c