mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
Restore osc co -c feature after commit r7103
Commit r7103 broke the osc co -c feature to checkout a package to the current directory. Restore it.
This commit is contained in:
parent
eb14b3c2a4
commit
415143d548
@ -1192,6 +1192,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
get_source_file(apiurl, project, package, filename, revision=rev)
|
||||
|
||||
elif package:
|
||||
if opts.current_dir: project_dir = None
|
||||
|
||||
checkout_package(apiurl, project, package,
|
||||
rev, expand_link=expand_link, prj_dir=project_dir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user