##// END OF EJS Templates
coal/paper: Wrap diff in <pre/>...
Rocco Rutte -
r8369:93a811ef default
parent child Browse files
Show More
@@ -1,76 +1,76 b''
1 default = 'shortlog'
1 default = 'shortlog'
2
2
3 mimetype = 'text/html; charset={encoding}'
3 mimetype = 'text/html; charset={encoding}'
4 header = header.tmpl
4 header = header.tmpl
5 footer = ../paper/footer.tmpl
5 footer = ../paper/footer.tmpl
6 search = ../paper/search.tmpl
6 search = ../paper/search.tmpl
7
7
8 changelog = ../paper/shortlog.tmpl
8 changelog = ../paper/shortlog.tmpl
9 shortlog = ../paper/shortlog.tmpl
9 shortlog = ../paper/shortlog.tmpl
10 shortlogentry = ../paper/shortlogentry.tmpl
10 shortlogentry = ../paper/shortlogentry.tmpl
11 graph = ../paper/graph.tmpl
11 graph = ../paper/graph.tmpl
12
12
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
19 filenolink = '{file|escape} '
19 filenolink = '{file|escape} '
20 fileellipses = '...'
20 fileellipses = '...'
21 changelogentry = ../paper/shortlogentry.tmpl
21 changelogentry = ../paper/shortlogentry.tmpl
22 searchentry = ../paper/shortlogentry.tmpl
22 searchentry = ../paper/shortlogentry.tmpl
23 changeset = ../paper/changeset.tmpl
23 changeset = ../paper/changeset.tmpl
24 manifest = ../paper/manifest.tmpl
24 manifest = ../paper/manifest.tmpl
25
25
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
28
28
29 filerevision = ../paper/filerevision.tmpl
29 filerevision = ../paper/filerevision.tmpl
30 fileannotate = ../paper/fileannotate.tmpl
30 fileannotate = ../paper/fileannotate.tmpl
31 filediff = ../paper/filediff.tmpl
31 filediff = ../paper/filediff.tmpl
32 filelog = ../paper/filelog.tmpl
32 filelog = ../paper/filelog.tmpl
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
34 filelogentry = ../paper/filelogentry.tmpl
34 filelogentry = ../paper/filelogentry.tmpl
35
35
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
37
37
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
38 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
43
43
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
45
45
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
47
47
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
50
50
51 filerename = '{file|escape}@'
51 filerename = '{file|escape}@'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
57 tags = ../paper/tags.tmpl
57 tags = ../paper/tags.tmpl
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
59 branches = ../paper/branches.tmpl
59 branches = ../paper/branches.tmpl
60 branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
60 branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
61 changelogtag = '<span class="tag">{name|escape}</span> '
61 changelogtag = '<span class="tag">{name|escape}</span> '
62 changesettag = '<span class="tag">{tag|escape}</span> '
62 changesettag = '<span class="tag">{tag|escape}</span> '
63 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
63 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
64 changelogbranchname = '<span class="branchname">{name|escape}</span> '
64 changelogbranchname = '<span class="branchname">{name|escape}</span> '
65 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
67 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
67 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
68 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
68 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
69 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
69 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
70 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
70 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
71 index = ../paper/index.tmpl
71 index = ../paper/index.tmpl
72 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
72 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
73 notfound = ../paper/notfound.tmpl
73 notfound = ../paper/notfound.tmpl
74 error = ../paper/error.tmpl
74 error = ../paper/error.tmpl
75 urlparameter = '{separator}{name}={value|urlescape}'
75 urlparameter = '{separator}{name}={value|urlescape}'
76 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
76 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
@@ -1,76 +1,76 b''
1 default = 'shortlog'
1 default = 'shortlog'
2
2
3 mimetype = 'text/html; charset={encoding}'
3 mimetype = 'text/html; charset={encoding}'
4 header = header.tmpl
4 header = header.tmpl
5 footer = footer.tmpl
5 footer = footer.tmpl
6 search = search.tmpl
6 search = search.tmpl
7
7
8 changelog = shortlog.tmpl
8 changelog = shortlog.tmpl
9 shortlog = shortlog.tmpl
9 shortlog = shortlog.tmpl
10 shortlogentry = shortlogentry.tmpl
10 shortlogentry = shortlogentry.tmpl
11 graph = graph.tmpl
11 graph = graph.tmpl
12
12
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
19 filenolink = '{file|escape} '
19 filenolink = '{file|escape} '
20 fileellipses = '...'
20 fileellipses = '...'
21 changelogentry = shortlogentry.tmpl
21 changelogentry = shortlogentry.tmpl
22 searchentry = shortlogentry.tmpl
22 searchentry = shortlogentry.tmpl
23 changeset = changeset.tmpl
23 changeset = changeset.tmpl
24 manifest = manifest.tmpl
24 manifest = manifest.tmpl
25
25
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a></td><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a></td><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
28
28
29 filerevision = filerevision.tmpl
29 filerevision = filerevision.tmpl
30 fileannotate = fileannotate.tmpl
30 fileannotate = fileannotate.tmpl
31 filediff = filediff.tmpl
31 filediff = filediff.tmpl
32 filelog = filelog.tmpl
32 filelog = filelog.tmpl
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
34 filelogentry = filelogentry.tmpl
34 filelogentry = filelogentry.tmpl
35
35
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
37
37
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
38 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
43
43
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
45
45
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
47
47
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
50
50
51 filerename = '{file|escape}@'
51 filerename = '{file|escape}@'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
57 tags = tags.tmpl
57 tags = tags.tmpl
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
59 branches = branches.tmpl
59 branches = branches.tmpl
60 branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
60 branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
61 changelogtag = '<span class="tag">{name|escape}</span> '
61 changelogtag = '<span class="tag">{name|escape}</span> '
62 changesettag = '<span class="tag">{tag|escape}</span> '
62 changesettag = '<span class="tag">{tag|escape}</span> '
63 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
63 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
64 changelogbranchname = '<span class="branchname">{name|escape}</span> '
64 changelogbranchname = '<span class="branchname">{name|escape}</span> '
65 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
67 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
67 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
68 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
68 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
69 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
69 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
70 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
70 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
71 index = index.tmpl
71 index = index.tmpl
72 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
72 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
73 notfound = notfound.tmpl
73 notfound = notfound.tmpl
74 error = error.tmpl
74 error = error.tmpl
75 urlparameter = '{separator}{name}={value|urlescape}'
75 urlparameter = '{separator}{name}={value|urlescape}'
76 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
76 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,372 +1,372 b''
1 % setting up repo
1 % setting up repo
2 adding a
2 adding a
3 adding b
3 adding b
4 % change permissions for git diffs
4 % change permissions for git diffs
5 % set up hgweb
5 % set up hgweb
6 % revision
6 % revision
7 200 Script output follows
7 200 Script output follows
8
8
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
10 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
10 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
11 <head>
11 <head>
12 <link rel="icon" href="/static/hgicon.png" type="image/png" />
12 <link rel="icon" href="/static/hgicon.png" type="image/png" />
13 <meta name="robots" content="index, nofollow" />
13 <meta name="robots" content="index, nofollow" />
14 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
15
15
16 <title>test: 0cd96de13884</title>
16 <title>test: 0cd96de13884</title>
17 </head>
17 </head>
18 <body>
18 <body>
19 <div class="container">
19 <div class="container">
20 <div class="menu">
20 <div class="menu">
21 <div class="logo">
21 <div class="logo">
22 <a href="http://www.selenic.com/mercurial/">
22 <a href="http://www.selenic.com/mercurial/">
23 <img src="/static/hglogo.png" alt="mercurial" /></a>
23 <img src="/static/hglogo.png" alt="mercurial" /></a>
24 </div>
24 </div>
25 <ul>
25 <ul>
26 <li><a href="/shortlog/0cd96de13884">log</a></li>
26 <li><a href="/shortlog/0cd96de13884">log</a></li>
27 <li><a href="/graph/0cd96de13884">graph</a></li>
27 <li><a href="/graph/0cd96de13884">graph</a></li>
28 <li><a href="/tags">tags</a></li>
28 <li><a href="/tags">tags</a></li>
29 <li><a href="/branches">branches</a></li>
29 <li><a href="/branches">branches</a></li>
30 </ul>
30 </ul>
31 <ul>
31 <ul>
32 <li class="active">changeset</li>
32 <li class="active">changeset</li>
33 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
33 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
34 <li><a href="/file/0cd96de13884">browse</a></li>
34 <li><a href="/file/0cd96de13884">browse</a></li>
35 </ul>
35 </ul>
36 <ul>
36 <ul>
37
37
38 </ul>
38 </ul>
39 </div>
39 </div>
40
40
41 <div class="main">
41 <div class="main">
42
42
43 <h2><a href="/">test</a></h2>
43 <h2><a href="/">test</a></h2>
44 <h3>changeset 0:0cd96de13884 </h3>
44 <h3>changeset 0:0cd96de13884 </h3>
45
45
46 <form class="search" action="/log">
46 <form class="search" action="/log">
47
47
48 <p><input name="rev" id="search1" type="text" size="30" /></p>
48 <p><input name="rev" id="search1" type="text" size="30" /></p>
49 <div id="hint">find changesets by author, revision,
49 <div id="hint">find changesets by author, revision,
50 files, or words in the commit message</div>
50 files, or words in the commit message</div>
51 </form>
51 </form>
52
52
53 <div class="description">a</div>
53 <div class="description">a</div>
54
54
55 <table id="changesetEntry">
55 <table id="changesetEntry">
56 <tr>
56 <tr>
57 <th class="author">author</th>
57 <th class="author">author</th>
58 <td class="author">&#116;&#101;&#115;&#116;</td>
58 <td class="author">&#116;&#101;&#115;&#116;</td>
59 </tr>
59 </tr>
60 <tr>
60 <tr>
61 <th class="date">date</th>
61 <th class="date">date</th>
62 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
62 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
63 <tr>
63 <tr>
64 <th class="author">parents</th>
64 <th class="author">parents</th>
65 <td class="author"></td>
65 <td class="author"></td>
66 </tr>
66 </tr>
67 <tr>
67 <tr>
68 <th class="author">children</th>
68 <th class="author">children</th>
69 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
69 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
70 </tr>
70 </tr>
71 <tr>
71 <tr>
72 <th class="files">files</th>
72 <th class="files">files</th>
73 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
73 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
74 </tr>
74 </tr>
75 </table>
75 </table>
76
76
77 <div class="overflow">
77 <div class="overflow">
78 <div class="sourcefirst"> line diff</div>
78 <div class="sourcefirst"> line diff</div>
79
79
80 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
80 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
81 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
81 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
82 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
82 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
83 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
83 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
84 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
84 </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
85 </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000
85 </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000
86 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@
86 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@
87 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+b
87 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+b
88 </span></div>
88 </span></pre></div>
89 </div>
89 </div>
90
90
91 </div>
91 </div>
92 </div>
92 </div>
93
93
94
94
95 </body>
95 </body>
96 </html>
96 </html>
97
97
98 % diff removed file
98 % diff removed file
99 200 Script output follows
99 200 Script output follows
100
100
101 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
101 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
102 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
102 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
103 <head>
103 <head>
104 <link rel="icon" href="/static/hgicon.png" type="image/png" />
104 <link rel="icon" href="/static/hgicon.png" type="image/png" />
105 <meta name="robots" content="index, nofollow" />
105 <meta name="robots" content="index, nofollow" />
106 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
106 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
107
107
108 <title>test: a diff</title>
108 <title>test: a diff</title>
109 </head>
109 </head>
110 <body>
110 <body>
111
111
112 <div class="container">
112 <div class="container">
113 <div class="menu">
113 <div class="menu">
114 <div class="logo">
114 <div class="logo">
115 <a href="http://www.selenic.com/mercurial/">
115 <a href="http://www.selenic.com/mercurial/">
116 <img src="/static/hglogo.png" alt="mercurial" /></a>
116 <img src="/static/hglogo.png" alt="mercurial" /></a>
117 </div>
117 </div>
118 <ul>
118 <ul>
119 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
119 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
120 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
120 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
121 <li><a href="/tags">tags</a></li>
121 <li><a href="/tags">tags</a></li>
122 <li><a href="/branches">branches</a></li>
122 <li><a href="/branches">branches</a></li>
123 </ul>
123 </ul>
124 <ul>
124 <ul>
125 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
125 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
126 <li><a href="/file/78e4ebad7cdf">browse</a></li>
126 <li><a href="/file/78e4ebad7cdf">browse</a></li>
127 </ul>
127 </ul>
128 <ul>
128 <ul>
129 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
129 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
130 <li class="active">diff</li>
130 <li class="active">diff</li>
131 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
131 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
132 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
132 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
133 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
133 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
134 </ul>
134 </ul>
135 </div>
135 </div>
136
136
137 <div class="main">
137 <div class="main">
138 <h2><a href="/">test</a></h2>
138 <h2><a href="/">test</a></h2>
139 <h3>diff a @ 1:78e4ebad7cdf</h3>
139 <h3>diff a @ 1:78e4ebad7cdf</h3>
140
140
141 <form class="search" action="/log">
141 <form class="search" action="/log">
142 <p></p>
142 <p></p>
143 <p><input name="rev" id="search1" type="text" size="30" /></p>
143 <p><input name="rev" id="search1" type="text" size="30" /></p>
144 <div id="hint">find changesets by author, revision,
144 <div id="hint">find changesets by author, revision,
145 files, or words in the commit message</div>
145 files, or words in the commit message</div>
146 </form>
146 </form>
147
147
148 <div class="description">b</div>
148 <div class="description">b</div>
149
149
150 <table id="changesetEntry">
150 <table id="changesetEntry">
151 <tr>
151 <tr>
152 <th>author</th>
152 <th>author</th>
153 <td>&#116;&#101;&#115;&#116;</td>
153 <td>&#116;&#101;&#115;&#116;</td>
154 </tr>
154 </tr>
155 <tr>
155 <tr>
156 <th>date</th>
156 <th>date</th>
157 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
157 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
158 </tr>
158 </tr>
159 <tr>
159 <tr>
160 <th>parents</th>
160 <th>parents</th>
161 <td></td>
161 <td></td>
162 </tr>
162 </tr>
163 <tr>
163 <tr>
164 <th>children</th>
164 <th>children</th>
165 <td></td>
165 <td></td>
166 </tr>
166 </tr>
167
167
168 </table>
168 </table>
169
169
170 <div class="overflow">
170 <div class="overflow">
171 <div class="sourcefirst"> line diff</div>
171 <div class="sourcefirst"> line diff</div>
172
172
173 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
173 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
174 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
174 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
175 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
175 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
176 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
176 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
177 </span></div>
177 </span></pre></div>
178 </div>
178 </div>
179 </div>
179 </div>
180 </div>
180 </div>
181
181
182
182
183
183
184 </body>
184 </body>
185 </html>
185 </html>
186
186
187 % set up hgweb with git diffs
187 % set up hgweb with git diffs
188 % revision
188 % revision
189 200 Script output follows
189 200 Script output follows
190
190
191 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
191 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
192 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
192 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
193 <head>
193 <head>
194 <link rel="icon" href="/static/hgicon.png" type="image/png" />
194 <link rel="icon" href="/static/hgicon.png" type="image/png" />
195 <meta name="robots" content="index, nofollow" />
195 <meta name="robots" content="index, nofollow" />
196 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
196 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
197
197
198 <title>test: 0cd96de13884</title>
198 <title>test: 0cd96de13884</title>
199 </head>
199 </head>
200 <body>
200 <body>
201 <div class="container">
201 <div class="container">
202 <div class="menu">
202 <div class="menu">
203 <div class="logo">
203 <div class="logo">
204 <a href="http://www.selenic.com/mercurial/">
204 <a href="http://www.selenic.com/mercurial/">
205 <img src="/static/hglogo.png" alt="mercurial" /></a>
205 <img src="/static/hglogo.png" alt="mercurial" /></a>
206 </div>
206 </div>
207 <ul>
207 <ul>
208 <li><a href="/shortlog/0cd96de13884">log</a></li>
208 <li><a href="/shortlog/0cd96de13884">log</a></li>
209 <li><a href="/graph/0cd96de13884">graph</a></li>
209 <li><a href="/graph/0cd96de13884">graph</a></li>
210 <li><a href="/tags">tags</a></li>
210 <li><a href="/tags">tags</a></li>
211 <li><a href="/branches">branches</a></li>
211 <li><a href="/branches">branches</a></li>
212 </ul>
212 </ul>
213 <ul>
213 <ul>
214 <li class="active">changeset</li>
214 <li class="active">changeset</li>
215 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
215 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
216 <li><a href="/file/0cd96de13884">browse</a></li>
216 <li><a href="/file/0cd96de13884">browse</a></li>
217 </ul>
217 </ul>
218 <ul>
218 <ul>
219
219
220 </ul>
220 </ul>
221 </div>
221 </div>
222
222
223 <div class="main">
223 <div class="main">
224
224
225 <h2><a href="/">test</a></h2>
225 <h2><a href="/">test</a></h2>
226 <h3>changeset 0:0cd96de13884 </h3>
226 <h3>changeset 0:0cd96de13884 </h3>
227
227
228 <form class="search" action="/log">
228 <form class="search" action="/log">
229
229
230 <p><input name="rev" id="search1" type="text" size="30" /></p>
230 <p><input name="rev" id="search1" type="text" size="30" /></p>
231 <div id="hint">find changesets by author, revision,
231 <div id="hint">find changesets by author, revision,
232 files, or words in the commit message</div>
232 files, or words in the commit message</div>
233 </form>
233 </form>
234
234
235 <div class="description">a</div>
235 <div class="description">a</div>
236
236
237 <table id="changesetEntry">
237 <table id="changesetEntry">
238 <tr>
238 <tr>
239 <th class="author">author</th>
239 <th class="author">author</th>
240 <td class="author">&#116;&#101;&#115;&#116;</td>
240 <td class="author">&#116;&#101;&#115;&#116;</td>
241 </tr>
241 </tr>
242 <tr>
242 <tr>
243 <th class="date">date</th>
243 <th class="date">date</th>
244 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
244 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
245 <tr>
245 <tr>
246 <th class="author">parents</th>
246 <th class="author">parents</th>
247 <td class="author"></td>
247 <td class="author"></td>
248 </tr>
248 </tr>
249 <tr>
249 <tr>
250 <th class="author">children</th>
250 <th class="author">children</th>
251 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
251 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
252 </tr>
252 </tr>
253 <tr>
253 <tr>
254 <th class="files">files</th>
254 <th class="files">files</th>
255 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
255 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
256 </tr>
256 </tr>
257 </table>
257 </table>
258
258
259 <div class="overflow">
259 <div class="overflow">
260 <div class="sourcefirst"> line diff</div>
260 <div class="sourcefirst"> line diff</div>
261
261
262 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100644
262 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100644
263 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
263 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
264 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
264 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
265 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
265 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
266 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
266 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
267 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> new file mode 100644
267 </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1"> 2.1</a> new file mode 100644
268 <a href="#l2.2" id="l2.2"> 2.2</a> <span class="minusline">--- /dev/null
268 <a href="#l2.2" id="l2.2"> 2.2</a> <span class="minusline">--- /dev/null
269 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="plusline">+++ b/b
269 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="plusline">+++ b/b
270 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="atline">@@ -0,0 +1,1 @@
270 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="atline">@@ -0,0 +1,1 @@
271 </span><a href="#l2.5" id="l2.5"> 2.5</a> <span class="plusline">+b
271 </span><a href="#l2.5" id="l2.5"> 2.5</a> <span class="plusline">+b
272 </span></div>
272 </span></pre></div>
273 </div>
273 </div>
274
274
275 </div>
275 </div>
276 </div>
276 </div>
277
277
278
278
279 </body>
279 </body>
280 </html>
280 </html>
281
281
282 % diff removed file
282 % diff removed file
283 200 Script output follows
283 200 Script output follows
284
284
285 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
285 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
286 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
286 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
287 <head>
287 <head>
288 <link rel="icon" href="/static/hgicon.png" type="image/png" />
288 <link rel="icon" href="/static/hgicon.png" type="image/png" />
289 <meta name="robots" content="index, nofollow" />
289 <meta name="robots" content="index, nofollow" />
290 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
290 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
291
291
292 <title>test: a diff</title>
292 <title>test: a diff</title>
293 </head>
293 </head>
294 <body>
294 <body>
295
295
296 <div class="container">
296 <div class="container">
297 <div class="menu">
297 <div class="menu">
298 <div class="logo">
298 <div class="logo">
299 <a href="http://www.selenic.com/mercurial/">
299 <a href="http://www.selenic.com/mercurial/">
300 <img src="/static/hglogo.png" alt="mercurial" /></a>
300 <img src="/static/hglogo.png" alt="mercurial" /></a>
301 </div>
301 </div>
302 <ul>
302 <ul>
303 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
303 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
304 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
304 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
305 <li><a href="/tags">tags</a></li>
305 <li><a href="/tags">tags</a></li>
306 <li><a href="/branches">branches</a></li>
306 <li><a href="/branches">branches</a></li>
307 </ul>
307 </ul>
308 <ul>
308 <ul>
309 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
309 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
310 <li><a href="/file/78e4ebad7cdf">browse</a></li>
310 <li><a href="/file/78e4ebad7cdf">browse</a></li>
311 </ul>
311 </ul>
312 <ul>
312 <ul>
313 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
313 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
314 <li class="active">diff</li>
314 <li class="active">diff</li>
315 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
315 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
316 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
316 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
317 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
317 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
318 </ul>
318 </ul>
319 </div>
319 </div>
320
320
321 <div class="main">
321 <div class="main">
322 <h2><a href="/">test</a></h2>
322 <h2><a href="/">test</a></h2>
323 <h3>diff a @ 1:78e4ebad7cdf</h3>
323 <h3>diff a @ 1:78e4ebad7cdf</h3>
324
324
325 <form class="search" action="/log">
325 <form class="search" action="/log">
326 <p></p>
326 <p></p>
327 <p><input name="rev" id="search1" type="text" size="30" /></p>
327 <p><input name="rev" id="search1" type="text" size="30" /></p>
328 <div id="hint">find changesets by author, revision,
328 <div id="hint">find changesets by author, revision,
329 files, or words in the commit message</div>
329 files, or words in the commit message</div>
330 </form>
330 </form>
331
331
332 <div class="description">b</div>
332 <div class="description">b</div>
333
333
334 <table id="changesetEntry">
334 <table id="changesetEntry">
335 <tr>
335 <tr>
336 <th>author</th>
336 <th>author</th>
337 <td>&#116;&#101;&#115;&#116;</td>
337 <td>&#116;&#101;&#115;&#116;</td>
338 </tr>
338 </tr>
339 <tr>
339 <tr>
340 <th>date</th>
340 <th>date</th>
341 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
341 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
342 </tr>
342 </tr>
343 <tr>
343 <tr>
344 <th>parents</th>
344 <th>parents</th>
345 <td></td>
345 <td></td>
346 </tr>
346 </tr>
347 <tr>
347 <tr>
348 <th>children</th>
348 <th>children</th>
349 <td></td>
349 <td></td>
350 </tr>
350 </tr>
351
351
352 </table>
352 </table>
353
353
354 <div class="overflow">
354 <div class="overflow">
355 <div class="sourcefirst"> line diff</div>
355 <div class="sourcefirst"> line diff</div>
356
356
357 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100755
357 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100755
358 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
358 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
359 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
359 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
360 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
360 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
361 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
361 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
362 </span></div>
362 </span></pre></div>
363 </div>
363 </div>
364 </div>
364 </div>
365 </div>
365 </div>
366
366
367
367
368
368
369 </body>
369 </body>
370 </html>
370 </html>
371
371
372 % errors
372 % errors
@@ -1,180 +1,180 b''
1 % setting up repo
1 % setting up repo
2 adding a
2 adding a
3 % set up hgweb
3 % set up hgweb
4 % revision
4 % revision
5 200 Script output follows
5 200 Script output follows
6
6
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
9 <head>
9 <head>
10 <link rel="icon" href="/static/hgicon.png" type="image/png" />
10 <link rel="icon" href="/static/hgicon.png" type="image/png" />
11 <meta name="robots" content="index, nofollow" />
11 <meta name="robots" content="index, nofollow" />
12 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
12 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
13
13
14 <title>test: c78f6c5cbea9</title>
14 <title>test: c78f6c5cbea9</title>
15 </head>
15 </head>
16 <body>
16 <body>
17 <div class="container">
17 <div class="container">
18 <div class="menu">
18 <div class="menu">
19 <div class="logo">
19 <div class="logo">
20 <a href="http://www.selenic.com/mercurial/">
20 <a href="http://www.selenic.com/mercurial/">
21 <img src="/static/hglogo.png" alt="mercurial" /></a>
21 <img src="/static/hglogo.png" alt="mercurial" /></a>
22 </div>
22 </div>
23 <ul>
23 <ul>
24 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
24 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
25 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
25 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
26 <li><a href="/tags">tags</a></li>
26 <li><a href="/tags">tags</a></li>
27 <li><a href="/branches">branches</a></li>
27 <li><a href="/branches">branches</a></li>
28 </ul>
28 </ul>
29 <ul>
29 <ul>
30 <li class="active">changeset</li>
30 <li class="active">changeset</li>
31 <li><a href="/raw-rev/c78f6c5cbea9">raw</a></li>
31 <li><a href="/raw-rev/c78f6c5cbea9">raw</a></li>
32 <li><a href="/file/c78f6c5cbea9">browse</a></li>
32 <li><a href="/file/c78f6c5cbea9">browse</a></li>
33 </ul>
33 </ul>
34 <ul>
34 <ul>
35
35
36 </ul>
36 </ul>
37 </div>
37 </div>
38
38
39 <div class="main">
39 <div class="main">
40
40
41 <h2><a href="/">test</a></h2>
41 <h2><a href="/">test</a></h2>
42 <h3>changeset 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
42 <h3>changeset 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
43
43
44 <form class="search" action="/log">
44 <form class="search" action="/log">
45
45
46 <p><input name="rev" id="search1" type="text" size="30" /></p>
46 <p><input name="rev" id="search1" type="text" size="30" /></p>
47 <div id="hint">find changesets by author, revision,
47 <div id="hint">find changesets by author, revision,
48 files, or words in the commit message</div>
48 files, or words in the commit message</div>
49 </form>
49 </form>
50
50
51 <div class="description">del</div>
51 <div class="description">del</div>
52
52
53 <table id="changesetEntry">
53 <table id="changesetEntry">
54 <tr>
54 <tr>
55 <th class="author">author</th>
55 <th class="author">author</th>
56 <td class="author">&#116;&#101;&#115;&#116;</td>
56 <td class="author">&#116;&#101;&#115;&#116;</td>
57 </tr>
57 </tr>
58 <tr>
58 <tr>
59 <th class="date">date</th>
59 <th class="date">date</th>
60 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
60 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
61 <tr>
61 <tr>
62 <th class="author">parents</th>
62 <th class="author">parents</th>
63 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
63 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
64 </tr>
64 </tr>
65 <tr>
65 <tr>
66 <th class="author">children</th>
66 <th class="author">children</th>
67 <td class="author"></td>
67 <td class="author"></td>
68 </tr>
68 </tr>
69 <tr>
69 <tr>
70 <th class="files">files</th>
70 <th class="files">files</th>
71 <td class="files">a </td>
71 <td class="files">a </td>
72 </tr>
72 </tr>
73 </table>
73 </table>
74
74
75 <div class="overflow">
75 <div class="overflow">
76 <div class="sourcefirst"> line diff</div>
76 <div class="sourcefirst"> line diff</div>
77
77
78 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
78 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
79 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
79 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
80 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
81 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
81 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
82 </span></div>
82 </span></pre></div>
83 </div>
83 </div>
84
84
85 </div>
85 </div>
86 </div>
86 </div>
87
87
88
88
89 </body>
89 </body>
90 </html>
90 </html>
91
91
92 % diff removed file
92 % diff removed file
93 200 Script output follows
93 200 Script output follows
94
94
95 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
95 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
96 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
96 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
97 <head>
97 <head>
98 <link rel="icon" href="/static/hgicon.png" type="image/png" />
98 <link rel="icon" href="/static/hgicon.png" type="image/png" />
99 <meta name="robots" content="index, nofollow" />
99 <meta name="robots" content="index, nofollow" />
100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
101
101
102 <title>test: a diff</title>
102 <title>test: a diff</title>
103 </head>
103 </head>
104 <body>
104 <body>
105
105
106 <div class="container">
106 <div class="container">
107 <div class="menu">
107 <div class="menu">
108 <div class="logo">
108 <div class="logo">
109 <a href="http://www.selenic.com/mercurial/">
109 <a href="http://www.selenic.com/mercurial/">
110 <img src="/static/hglogo.png" alt="mercurial" /></a>
110 <img src="/static/hglogo.png" alt="mercurial" /></a>
111 </div>
111 </div>
112 <ul>
112 <ul>
113 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
113 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
114 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
114 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
115 <li><a href="/tags">tags</a></li>
115 <li><a href="/tags">tags</a></li>
116 <li><a href="/branches">branches</a></li>
116 <li><a href="/branches">branches</a></li>
117 </ul>
117 </ul>
118 <ul>
118 <ul>
119 <li><a href="/rev/c78f6c5cbea9">changeset</a></li>
119 <li><a href="/rev/c78f6c5cbea9">changeset</a></li>
120 <li><a href="/file/c78f6c5cbea9">browse</a></li>
120 <li><a href="/file/c78f6c5cbea9">browse</a></li>
121 </ul>
121 </ul>
122 <ul>
122 <ul>
123 <li><a href="/file/c78f6c5cbea9/a">file</a></li>
123 <li><a href="/file/c78f6c5cbea9/a">file</a></li>
124 <li class="active">diff</li>
124 <li class="active">diff</li>
125 <li><a href="/annotate/c78f6c5cbea9/a">annotate</a></li>
125 <li><a href="/annotate/c78f6c5cbea9/a">annotate</a></li>
126 <li><a href="/log/c78f6c5cbea9/a">file log</a></li>
126 <li><a href="/log/c78f6c5cbea9/a">file log</a></li>
127 <li><a href="/raw-file/c78f6c5cbea9/a">raw</a></li>
127 <li><a href="/raw-file/c78f6c5cbea9/a">raw</a></li>
128 </ul>
128 </ul>
129 </div>
129 </div>
130
130
131 <div class="main">
131 <div class="main">
132 <h2><a href="/">test</a></h2>
132 <h2><a href="/">test</a></h2>
133 <h3>diff a @ 1:c78f6c5cbea9</h3>
133 <h3>diff a @ 1:c78f6c5cbea9</h3>
134
134
135 <form class="search" action="/log">
135 <form class="search" action="/log">
136 <p></p>
136 <p></p>
137 <p><input name="rev" id="search1" type="text" size="30" /></p>
137 <p><input name="rev" id="search1" type="text" size="30" /></p>
138 <div id="hint">find changesets by author, revision,
138 <div id="hint">find changesets by author, revision,
139 files, or words in the commit message</div>
139 files, or words in the commit message</div>
140 </form>
140 </form>
141
141
142 <div class="description">del</div>
142 <div class="description">del</div>
143
143
144 <table id="changesetEntry">
144 <table id="changesetEntry">
145 <tr>
145 <tr>
146 <th>author</th>
146 <th>author</th>
147 <td>&#116;&#101;&#115;&#116;</td>
147 <td>&#116;&#101;&#115;&#116;</td>
148 </tr>
148 </tr>
149 <tr>
149 <tr>
150 <th>date</th>
150 <th>date</th>
151 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
151 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
152 </tr>
152 </tr>
153 <tr>
153 <tr>
154 <th>parents</th>
154 <th>parents</th>
155 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
155 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
156 </tr>
156 </tr>
157 <tr>
157 <tr>
158 <th>children</th>
158 <th>children</th>
159 <td></td>
159 <td></td>
160 </tr>
160 </tr>
161
161
162 </table>
162 </table>
163
163
164 <div class="overflow">
164 <div class="overflow">
165 <div class="sourcefirst"> line diff</div>
165 <div class="sourcefirst"> line diff</div>
166
166
167 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
167 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
168 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
168 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
169 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
169 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
170 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
170 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
171 </span></div>
171 </span></pre></div>
172 </div>
172 </div>
173 </div>
173 </div>
174 </div>
174 </div>
175
175
176
176
177
177
178 </body>
178 </body>
179 </html>
179 </html>
180
180
General Comments 0
You need to be logged in to leave comments. Login now