From 2ce8484dc854d86f1ea45bdb186b59d883d7bffb Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 9 Nov 2011 11:51:43 +0100 Subject: [PATCH] Support unshortened diff and use it by default. Fixes bnc#518304 --- osc/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 80bf586e..83a78547 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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)