1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- requests in history can be also delete or maintenance requests

This commit is contained in:
Adrian Schröter 2011-05-23 16:59:16 +02:00
parent 6c654b012f
commit 4caf868548

View File

@ -5154,8 +5154,10 @@ def get_commitlog(apiurl, prj, package, revision, format = 'text', meta = False,
comment.replace('&', '&amp;').replace('<', '&gt;').replace('>', '&lt;'))
r.append('</logentry>')
else:
if requestid:
requestid="rq" + requestid
s = '-' * 76 + \
'\nr%s | %s | %s | %s | %s | sr%s\n' % (rev, user, t, srcmd5, version, requestid) + \
'\nr%s | %s | %s | %s | %s | %s\n' % (rev, user, t, srcmd5, version, requestid) + \
'\n' + comment
r.append(s)