Project

General

Profile

Defect #27790 » redmine_redminehelper_fix.diff

Alexander Ryabinovskiy, 2017-12-13 11:55

View differences:

redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py Fri Dec 08 12:08:52 2017 +0300 → 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)
    (1-1/1)