Rev 1564: Avoid double encoding. in file:///data/jelmer/bzr-svn/pushmerged/
Jelmer Vernooij
jelmer at samba.org
Mon Aug 4 16:48:03 BST 2008
At file:///data/jelmer/bzr-svn/pushmerged/
------------------------------------------------------------
revno: 1564
revision-id: jelmer at samba.org-20080804154802-1192erejvzdal0oe
parent: jelmer at samba.org-20080804154744-0nhbpqfh3y1xv3hu
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: pushmerged
timestamp: Mon 2008-08-04 17:48:02 +0200
message:
Avoid double encoding.
modified:
commit.py commit.py-20060607190346-qvq128wgfubhhgm2-1
=== modified file 'commit.py'
--- a/commit.py 2008-08-03 15:13:49 +0000
+++ b/commit.py 2008-08-04 15:48:02 +0000
@@ -529,8 +529,7 @@
for prop, value in self._svnprops.items():
if not properties.is_valid_property_name(prop):
warning("Setting property %r with invalid characters in name", prop)
- if value is not None:
- value = value.encode('utf-8')
+ assert isinstance(value, str)
branch_editors[-1].change_prop(prop, value)
self.mutter("Setting root file property %r -> %r", prop, value)
More information about the bazaar-commits
mailing list