Describe the bug
-
for scmsync enabled projects,
osc co -r $rev $prj $pkg -o directory, does a whole clone instead of a shallow clone.
-> OSC_VERSION is set in the script (which also sets the following in obs_scm_bridge, get_assets = True, shallow_clone = False), hence the whole clone.
-
also when out directory (-o directory) is provided, the following error is observed,
Error: "CWD/$prj" is not an osc working copy.
Versions
- Operating system:
openSUSE Tumbleweed
- Packages:
osc-1.9.2
To Reproduce
Steps to reproduce the behavior:
osc co <scm_disturl>
Expected behavior
- Shallow clone with
osc co <scm_disturl>
Screenshots, console outputs
If applicable, add screenshots or console outputs to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
for scmsync enabled projects,
osc co -r $rev $prj $pkg -o directory, does a whole clone instead of a shallow clone.->
OSC_VERSIONis set in the script (which also sets the following in obs_scm_bridge, get_assets = True, shallow_clone = False), hence the whole clone.also when out directory (-o directory) is provided, the following error is observed,
Error: "CWD/$prj" is not an osc working copy.Versions
openSUSE Tumbleweedosc-1.9.2To Reproduce
Steps to reproduce the behavior:
osc co <scm_disturl>Expected behavior
osc co <scm_disturl>Screenshots, console outputs
If applicable, add screenshots or console outputs to help explain your problem.
Additional context
Add any other context about the problem here.