author | Brendan Cully <brendan@kublai.com> |
Thu, 11 Jun 2009 12:18:40 -0700 | |
changeset 8783 | 6556d4145122 |
parent 8754 | 31c90d12f86c |
child 8784 | 9154c79c67cc |
--- a/hgext/convert/bzr.py Mon Jun 08 18:16:32 2009 -0500 +++ b/hgext/convert/bzr.py Thu Jun 11 12:18:40 2009 -0700 @@ -72,7 +72,7 @@ def getfile(self, name, rev): revtree = self.sourcerepo.revision_tree(rev) - fileid = revtree.path2id(name) + fileid = revtree.path2id(name.decode(self.encoding or 'utf-8')) kind = None if fileid is not None: kind = revtree.kind(fileid)