1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 13:48:43 +02:00

Revert "use the baserev on links by default for diffing"

Unfortunately produces weird results sometimes. There's probably some
smart code needed to determine when to use baserev.

This reverts commit 94c9a3dde7.

Conflicts:

	NEWS
This commit is contained in:
Ludwig Nussel
2010-02-11 10:05:45 +01:00
parent 5d27ea3cd7
commit 5da4957347
2 changed files with 1 additions and 3 deletions

View File

@@ -2973,8 +2973,7 @@ def server_diff(apiurl,
old_project, old_package, old_revision,
new_project, new_package, new_revision, unified=False):
# we default to the baserev here. an option to try to use the current base rev might be nice
query = {'cmd': 'diff', 'expand': '1', 'linkrev': 'base', 'olinkrev': 'base'}
query = {'cmd': 'diff', 'expand': '1'}
if old_project:
query['oproject'] = old_project
if old_package: