Changeset - edfbf3ee9965
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-06-30 01:44:58
marcin@python-works.com
fixes #217 Seperate Parents on Raw-changeset page
2 files changed with 4 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changeset.py
Show inline comments
 
@@ -242,9 +242,8 @@ class ChangesetController(BaseRepoContro
 
            response.content_disposition = 'attachment; filename=%s.patch' \
 
                                            % revision
 

	
 
        parent = True if len(c.changeset.parents) > 0 else False
 
        c.parent_tmpl = 'Parent  %s' \
 
                        % c.changeset.parents[0].raw_id if parent else ''
 
        c.parent_tmpl = ''.join(['# Parent  %s\n' % x.raw_id for x in
 
                                                 c.changeset.parents])
 

	
 
        c.diffs = ''
 
        for x in c.changes:
rhodecode/templates/changeset/raw_changeset.html
Show inline comments
 
# ${c.scm_type} changeset patch
 
# ${c.scm_type.upper()} changeset patch
 
# User ${c.changeset.author|n}
 
# Date ${c.changeset.date}
 
# Node ID ${c.changeset.raw_id}
 
# ${c.parent_tmpl}
 
${c.parent_tmpl}
 
${c.changeset.message}
 

	
 
${c.diffs|n}
 
\ No newline at end of file
0 comments (0 inline, 0 general)