[PATCH 6 of 8] fixed changeset_templater to accept unicode strings
Andrey
grooz-work at gorodok.net
Mon Nov 20 10:29:56 UTC 2006
# HG changeset patch
# User Andrey <grooz-work at gorodok.net>
# Date 1163471558 -21600
# Node ID 8abdf624d13d18b6daf2f1675b6ef555c7892fcb
# Parent e101210ee793840dfb04290b3fbd9fac05f9c4c2
fixed changeset_templater to accept unicode strings
(transplanted from 42676656123eee99df3934efac6791bf1b652f8b)
diff -r e101210ee793 -r 8abdf624d13d mercurial/cmdutil.py
--- a/mercurial/cmdutil.py Mon Nov 13 01:10:14 2006 +0600
+++ b/mercurial/cmdutil.py Tue Nov 14 08:32:38 2006 +0600
@@ -392,7 +392,7 @@ class changeset_templater(changeset_prin
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