##// END OF EJS Templates
fix enumerate call for python2.5
marcink -
r3079:8618b781 beta
parent child Browse files
Show More
@@ -34,7 +34,7
34 34 <div class="diffblock">
35 35 <div class="parents">
36 36 %if c.changeset.parents:
37 %for n, p_cs in enumerate(reversed(c.changeset.parents),1):
37 %for n, p_cs in enumerate(reversed(c.changeset.parents)):
38 38 <span class="changeset_hash">&laquo; ${h.link_to('%s:%s' % (p_cs.revision,p_cs.raw_id[:6]),h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}</span>
39 39 <br>
40 40 %endfor
@@ -44,7 +44,7
44 44 </div>
45 45 <div class="children">
46 46 %if c.changeset.children:
47 %for n, p_cs in enumerate(reversed(c.changeset.children),1):
47 %for n, p_cs in enumerate(reversed(c.changeset.children)):
48 48 <span class="changeset_hash">${h.link_to('%s:%s' % (p_cs.revision,p_cs.raw_id[:6]),h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} &raquo;</span>
49 49 <br>
50 50 %endfor
General Comments 0
You need to be logged in to leave comments. Login now