hg-urlescape.diff

Toshi MARUYAMA, 2010-12-07 13:47

Download (1.65 KB)

View differences:

lib/redmine/scm/adapters/mercurial/hg-template-0.9.5.tmpl
6 6
file = '<path action="M">{file|escape}</path>\n'
7 7
file_add = '<path action="A">{file_add|escape}</path>\n'
8 8
file_del = '<path action="D">{file_del|escape}</path>\n'
9
file_copy = '<path-copied copyfrom-path="{source|escape}">{name|urlescape}</path-copied>\n'
9
file_copy = '<path-copied copyfrom-path="{source|escape}">{name|escape}</path-copied>\n'
10 10
tag = '<tag>{tag|escape}</tag>\n'
11 11
header='<?xml version="1.0" encoding="UTF-8" ?>\n<log>\n\n'
12
# footer="</log>"
12
# footer="</log>"
lib/redmine/scm/adapters/mercurial/hg-template-1.0.tmpl
6 6
file_mod = '<path action="M">{file_mod|escape}</path>\n'
7 7
file_add = '<path action="A">{file_add|escape}</path>\n'
8 8
file_del = '<path action="D">{file_del|escape}</path>\n'
9
file_copy = '<path-copied copyfrom-path="{source|escape}">{name|urlescape}</path-copied>\n'
9
file_copy = '<path-copied copyfrom-path="{source|escape}">{name|escape}</path-copied>\n'
10 10
tag = '<tag>{tag|escape}</tag>\n'
11 11
header='<?xml version="1.0" encoding="UTF-8" ?>\n<log>\n\n'
12 12
# footer="</log>"