mirror of
https://github.com/openSUSE/osc.git
synced 2025-03-01 05:32:13 +01:00
Merge branch 'fix_osc_vc_args' of https://github.com/lethliel/osc
Follow-up fix for commit edc2bde46001c8b6e70e398cece8a73238ffa7d4 ("Transfer the name of the input file to vc") - it slipped through during my review... See also [1]. [1] https://github.com/openSUSE/osc/pull/644#issuecomment-533514712
This commit is contained in:
commit
c21f764af9
@ -8980,8 +8980,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
raise oscerr.WrongOptions('\'%s\': is no file' % opts.file)
|
||||
args = list(args)
|
||||
if not args:
|
||||
cmd_list.append('')
|
||||
cmd_list.append(opts.file)
|
||||
args.append('')
|
||||
args.append(opts.file)
|
||||
|
||||
if opts.just_edit:
|
||||
cmd_list.append("-e")
|
||||
|
Loading…
x
Reference in New Issue
Block a user