Mercurial > hg
changeset 5916:b6deda0f69fa
convert: Do not abort with TypeError if svn commit message is None (issue934)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 21 Jan 2008 21:44:16 +0100 |
parents | a893610f6f0c |
children | a8dbfa1802cd |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Mon Jan 21 10:04:35 2008 +0100 +++ b/hgext/convert/subversion.py Mon Jan 21 21:44:16 2008 +0100 @@ -597,7 +597,7 @@ # '2007-01-04T17:35:00.902377Z' date = util.parsedate(date[:19] + " UTC", ["%Y-%m-%dT%H:%M:%S"]) - log = message and self.recode(message) + log = message and self.recode(message) or '' author = author and self.recode(author) or '' try: branch = self.module.split("/")[-1]