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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user