1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-13 07:56:14 +01:00

Change 'rdiff' command to display diff for _project if no package is specified

This commit is contained in:
Daniel Mach 2023-10-05 10:34:54 +02:00
parent 62e4817ff5
commit 90b821e777

View File

@ -4758,13 +4758,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
new_package = old_package
if not old_package:
if opts.meta:
new_project = old_project
new_package = "_project"
old_project = None
old_package = None
else:
self.argparse_error("Please specify either a package or the --meta option")
new_project = old_project
new_package = "_project"
old_project = None
old_package = None
if opts.meta:
opts.unexpand = True