@@ -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:
# ${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
Status change: