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

Support unshortened diff and use it by default.

Fixes bnc#518304
This commit is contained in:
Sascha Peilicke 2011-11-09 11:51:43 +01:00
parent 0973931793
commit 2ce8484dc8

View File

@ -3873,7 +3873,7 @@ def get_source_file_diff(dir, filename, rev, oldfilename = None, olddir = None,
def server_diff(apiurl,
old_project, old_package, old_revision,
new_project, new_package, new_revision,
unified=False, missingok=False, meta=False, expand=True):
unified=False, missingok=False, meta=False, expand=True, full=True):
query = {'cmd': 'diff'}
if expand:
query['expand'] = 1
@ -3891,6 +3891,8 @@ def server_diff(apiurl,
query['missingok'] = 1
if meta:
query['meta'] = 1
if full:
query['filelimit'] = 0
u = makeurl(apiurl, ['source', new_project, new_package], query=query)