Module allura.model.repository:1106 in hex
<< '''Compute a recursive sha1 hash on the tree'''
if self._hex is None:
sha_obj = sha1('tree\n' + repr(self))
self._hex = sha_obj.hexdigest()
return self._hex
>> sha_obj = sha1('tree\n' + repr(self))
Module allura.model.repository:1118 in __repr__
<< def __repr__(self):
return unicode(self).encode('utf-8')
def topological_sort(graph):
>> return unicode(self).encode('utf-8')
Module allura.model.repository:1115 in __unicode__
<< lines += [('b %s %s' % (oid, name))
for name, oid in self.blobs.iteritems() ]
return u'\n'.join(sorted(lines))
def __repr__(self):
>> return u'\n'.join(sorted(lines))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 54: ordinal not in range(128)
This might've been fixed in the reactor rewrite?
Try adding a unicode filename to the repo to duplicate
Changes are on js/1750. Confirm this works by adding a file with a unicode name to a mercurial repo. The file will show up in the file list once the repo has refreshed successfully.
validated and promoted to dev in f461c6b