redmine_redminehelper_fix.diff

Alexander Ryabinovskiy, 2017-12-13 11:55

Download (968 Bytes)

View differences:

redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py Wed Dec 13 13:29:09 2017 +0300
97 97
    for t, n, r in sorted(iterbranches(), key=lambda e: e[2], reverse=True):
98 98
        if repo.lookup(r) in branchheads(t):
99 99
            ui.write('<branch revision="%d" node="%s" name="%s"/>\n'
100
                     % (r, _x(node.hex(n)), _x(t)))
100
                     % (r, _x(node.hex(n)), _x(t).replace('"', '&quot;')))
101 101

  
102 102
def _manifest(ui, repo, path, rev):
103 103
    ctx = repo.changectx(rev)