Files
@ 631e8000eae8
Branch filter:
Location: kallithea/rhodecode/templates/followers/followers.html - annotation
631e8000eae8
608 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.
cb216757a62d cb216757a62d cb216757a62d cb216757a62d 1f334a68d057 cb216757a62d cb216757a62d cb216757a62d 9e677f6d34cb cb216757a62d cb216757a62d cb216757a62d eacd33e0c5b3 cb216757a62d cb216757a62d 1c32b72930fa cb216757a62d cb216757a62d cb216757a62d cb216757a62d cb216757a62d cb216757a62d cb216757a62d cb216757a62d cb216757a62d f91d3f9b7230 cb216757a62d f91d3f9b7230 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Followers') % c.repo_name} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${_('Followers')}
</%def>
<%def name="page_nav()">
${self.menu('repositories')}
</%def>
<%def name="main()">
${self.context_bar('followers')}
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<div class="table">
<div id="followers">
${c.followers_data}
</div>
</div>
</div>
</%def>
|