--- backend.py.orig	2009-11-01 13:10:37.000000000 +0100
+++ backend.py	2009-11-01 13:34:24.000000000 +0100
@@ -541,7 +541,7 @@
             newest = -1
             for file in self.manifest.keys():
                 if file.startswith(dir):
-                    entry = file[len(dir):].split('/', 1)[0]
+                    entry = unicode(file[len(dir):].split('/', 1)[0], 'utf8')
                     entries[entry] = 1
                     if path: # small optimization: we skip this for root node
                         file_n = self.manifest[file]
@@ -564,7 +564,7 @@
         self.time = self.repos.hg_time(log.read(node)[2])
         rev = self.repos.hg_display(node)
         Node.__init__(self, path, rev, kind)
-        self.created_path = path
+        self.created_path = unicode(path, 'utf8')
         self.created_rev = rev
         self.data = None
 

