Files
@ 631e8000eae8
Branch filter:
Location: kallithea/rhodecode/templates/forks/forks.html - annotation
631e8000eae8
593 B
text/html
diff parser: match the header order of hg diff --git patches
The output might look like:
diff --git a/A b/B
old mode 100644
new mode 100755
rename from A
rename to B
--- a/A
+++ b/B
Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.
Now the chmod and diff will be shown ... but still not the rename.
Correct parsing of headers do require a better parser - one do not just use a
regexp.
The output might look like:
diff --git a/A b/B
old mode 100644
new mode 100755
rename from A
rename to B
--- a/A
+++ b/B
Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.
Now the chmod and diff will be shown ... but still not the rename.
Correct parsing of headers do require a better parser - one do not just use a
regexp.
7e75af301842 7e75af301842 7e75af301842 7e75af301842 1f334a68d057 7e75af301842 7e75af301842 7e75af301842 9e677f6d34cb 7e75af301842 7e75af301842 2ea981f9da79 2ea981f9da79 2ea981f9da79 2ea981f9da79 7e75af301842 93d912ea8cb1 7e75af301842 7e75af301842 7e75af301842 7e75af301842 7e75af301842 7e75af301842 7e75af301842 7e75af301842 7e75af301842 f91d3f9b7230 7e75af301842 f91d3f9b7230 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Forks') % c.repo_name} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${_('Forks')}
</%def>
<%def name="page_nav()">
${self.menu('repositories')}
</%def>
<%def name="main()">
${self.context_bar('showforks')}
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<div class="table">
<div id="forks">
${c.forks_data}
</div>
</div>
</div>
</%def>
|