mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
use the baserev on links by default for diffing
This commit is contained in:
parent
8c50908891
commit
94c9a3dde7
1
NEWS
1
NEWS
@ -4,6 +4,7 @@
|
||||
- fixed SSL proxy support
|
||||
- fixed meta attribute create and set calls
|
||||
- osc remotebuildlog supports a buildlogurl
|
||||
- use the baserev on links by default for diffing
|
||||
|
||||
0.125
|
||||
- add "osc pull" command to fetch and merge changes in the link target
|
||||
|
@ -2959,7 +2959,8 @@ def server_diff(apiurl,
|
||||
old_project, old_package, old_revision,
|
||||
new_project, new_package, new_revision, unified=False):
|
||||
|
||||
query = {'cmd': 'diff', 'expand': '1'}
|
||||
# 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'}
|
||||
if old_project:
|
||||
query['oproject'] = old_project
|
||||
if old_package:
|
||||
|
Loading…
Reference in New Issue
Block a user