##// END OF EJS Templates
patch: be more tolerant to diffstat failures (issue 865)...
patch: be more tolerant to diffstat failures (issue 865) Sometimes, revisions cannot be represented by a regular diff, only a git diff would capture binary files or permission changes. diffstat cannot handle git patches and will output "0 files changed" when fed with an empty diff. We cannot consider the latter to be an error, unless we rewrite diffstat to handle these correctly.

File last commit:

r3264:fc34c031 default
r5669:a0eb8a41 default
Show More
filediff.tmpl
34 lines | 765 B | application/x-cheetah | CheetahLexer
Brendan Cully
Rename default style to old
r3264 #header#
<title>#repo|escape#: #file|escape# diff</title>
</head>
<body>
<div class="buttons">
<a href="?cl=#rev#">changelog</a>
<a href="?sl=#rev#">shortlog</a>
<a href="?tags=">tags</a>
<a href="?cs=#node|short#">changeset</a>
<a href="?f=#node|short#;file=#file|urlescape#">file</a>
<a href="?fl=#node|short#;file=#file|urlescape#">revisions</a>
<a href="?fa=#node|short#;file=#file|urlescape#">annotate</a>
<a href="?fd=#node|short#;file=#file|urlescape#;style=raw">raw</a>
</div>
<h2>#file|escape#</h2>
<table id="filediffEntry">
<tr>
<th class="revision">revision #rev#:</th>
<td class="revision"><a href="?cs=#node|short#">#node|short#</a></td>
</tr>
#parent%filediffparent#
#child%filediffchild#
</table>
<div id="fileDiff">
#diff#
</div>
#footer#