mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
parent
f065dc4765
commit
1dc8109ef8
@ -3418,7 +3418,7 @@ def edit_meta(metatype,
|
||||
# check if the package is a link to a different project
|
||||
project, package = path_args
|
||||
orgprj = ET.fromstring(''.join(data)).get('project')
|
||||
if orgprj is not None and project != orgprj:
|
||||
if orgprj is not None and unquote(project) != orgprj:
|
||||
print('The package is linked from a different project.')
|
||||
print('If you want to edit the meta of the package create first a branch.')
|
||||
print(' osc branch %s %s %s' % (orgprj, package, unquote(project)))
|
||||
|
Loading…
Reference in New Issue
Block a user