Changeset 50542e82b084…
Parent 0c93a3122251…
by
Changes to one file · Browse files at 50542e82b084 Showing diff from parent 0c93a3122251 Diff from another changeset...
@@ -558,13 +558,13 @@ rev = fctx.linkrev()
# If the source path matches the current path, don't bother including it.
if curpath and curpath == fctx.path():
- source = ''
+ source = u''
else:
- source = '(%s)' % fctx.path()
- date = age(fctx.date())
- l = tounicode(fctx.description()).replace('\0', '').splitlines()
+ source = u'(%s)' % tounicode(fctx.path())
+ date = tounicode(age(fctx.date()))
+ l = tounicode(fctx.description()).splitlines()
summary = l and l[0] or ''
- return '%s@%s%s:%s "%s"' % (author, rev, source, date, summary)
+ return u'%s@%s%s:%s "%s"' % (author, rev, source, date, summary)
def validate_synch_path(path, repo):
'''
|
Loading...