Changeset - f48b12755d83
[Not reviewed]
stable
0 2 0
Mads Kiilerich (kiilerix) - 5 years ago 2020-06-12 16:09:59
mads@kiilerich.com
hg: fix missing py3 string conversions for displaying subrepo (Issue #377)
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general) First comment
kallithea/lib/vcs/backends/hg/changeset.py
Show inline comments
 
@@ -329,7 +329,7 @@ class MercurialChangeset(BaseChangeset):
 
            #vals = url,rev,type
 
            loc = vals[0]
 
            cs = vals[1]
 
            dirnodes.append(SubModuleNode(k, url=loc, changeset=cs,
 
            dirnodes.append(SubModuleNode(safe_str(k), url=safe_str(loc), changeset=cs,
 
                                          alias=als))
 
        nodes = dirnodes + filenodes
 
        for node in nodes:
kallithea/lib/vcs/nodes.py
Show inline comments
 
@@ -603,4 +603,4 @@ class SubModuleNode(Node):
 
        then only last part is returned.
 
        """
 
        org = self.path.rstrip('/').rsplit('/', 1)[-1]
 
        return '%s @ %s' % (org, self.changeset.short_id)
 
        return '%s @ %s' % (org, safe_str(self.changeset.short_id))
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now