[PATCH 4 of 6] fixed changeset_templater to accept unicode strings
Andrey
grooz-work at gorodok.net
Sun Nov 12 17:49:27 UTC 2006
# HG changeset patch
# User Andrey <grooz-work at gorodok.net>
# Date 1163348242 -21600
# Node ID d71ed9fe6ca3b419a8b2f19f3be140776b702129
# Parent 96fdb63186b9baaaf3139cfcb127a36ee2602922
fixed changeset_templater to accept unicode strings
diff -r 96fdb63186b9 -r d71ed9fe6ca3 mercurial/templater.py
--- a/mercurial/templater.py Sun Nov 12 22:08:10 2006 +0600
+++ b/mercurial/templater.py Sun Nov 12 22:17:22 2006 +0600
@@ -399,7 +399,7 @@ class changeset_templater(object):
yield self.t(noname, **args)
return
if name not in self.t:
- if isinstance(values[0], str):
+ if isinstance(values[0], basestring):
yield ' '.join(values)
else:
for v in values:
More information about the Mercurial-devel
mailing list