mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-09 22:36:14 +01:00
Merge branch 'fix_mr' of https://github.com/adrianschroeter/osc
Do not create an MR for the entire project if "osc mr" is invoked in a package wc (only create an MR for the specific package instead). Strictly speaking, the "breaks" the existing UI - but this rather seems to be a "fix" than a "break";)
This commit is contained in:
commit
b6f69180e2
@ -3342,6 +3342,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
if len(args) == 0 and (is_project_dir(os.curdir) or is_package_dir(os.curdir)):
|
||||
source_project = store_read_project(os.curdir)
|
||||
if is_package_dir(os.curdir):
|
||||
source_packages = [store_read_package(os.curdir)]
|
||||
elif len(args) == 0:
|
||||
raise oscerr.WrongArgs('Too few arguments.')
|
||||
if len(args) > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user