mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 05:26:16 +01:00
- support also plain "osc mr" from package checkout
This commit is contained in:
parent
b38dd0191f
commit
79d970f885
@ -2669,7 +2669,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
source_project = source_packages = target_project = release_project = opt_sourceupdate = None
|
source_project = source_packages = target_project = release_project = opt_sourceupdate = None
|
||||||
|
|
||||||
if len(args) == 0 and is_project_dir(os.curdir):
|
if len(args) == 0 and (is_project_dir(os.curdir) or is_package_dir(os.curdir)):
|
||||||
source_project = store_read_project(os.curdir)
|
source_project = store_read_project(os.curdir)
|
||||||
elif len(args) == 0:
|
elif len(args) == 0:
|
||||||
raise oscerr.WrongArgs('Too few arguments.')
|
raise oscerr.WrongArgs('Too few arguments.')
|
||||||
|
Loading…
Reference in New Issue
Block a user