mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 20:22:13 +01:00
Currently, when trying to initialize a non existent (server-side) project via "osc init <prj>", osc errors out (after creating the wc) because it fails to retrieve the package list. However, there is no need to retrieve the package list in the "osc init <prj>" case. Hence, skip the package list retrieval. As a result, osc does not error out. For the background, see the discussion in #858 ("osc fails to check out an empty project as project") [1]. [1] https://github.com/openSUSE/osc/issues/858#issuecomment-722330024