allura
修訂 | de551586d62a50be184a27c5a6b381e8c46d0de3 (tree) |
---|---|
時間 | 2012-07-16 22:52:05 |
作者 | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Igor Bondarenko |
[#3581] ticket:117 apply h.really_unicode to blob names
@@ -208,10 +208,10 @@ class HgImplementation(M.RepositoryImplementation): | ||
208 | 208 | for name, t in tree.trees.iteritems(): |
209 | 209 | self.refresh_tree_info(t, seen, lazy) |
210 | 210 | doc.tree_ids.append( |
211 | - dict(name=name, id=t.hex())) | |
211 | + dict(name=h.really_unicode(name), id=t.hex())) | |
212 | 212 | for name, oid in tree.blobs.iteritems(): |
213 | 213 | doc.blob_ids.append( |
214 | - dict(name=name, id=oid)) | |
214 | + dict(name=h.really_unicode(name), id=oid)) | |
215 | 215 | doc.m.save(safe=False) |
216 | 216 | return doc |
217 | 217 |