You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour is most likely correct, but surprising. The reason is that the old revision of the unexpanded source contains a link to latest source revision of the package in openSUSE:Factory.
However, we should make it possible at least to copy the old sources merged as they were on commit time.
So we may add an option like
osc copypac --expand-rev=110 ...
which then would make the api call with
..&expand&orev=110&olinkrev=base
It would result in an expanded copy without a link. So the user would need to specify the target on "osc sr".
The alternative would be to do the copy like we do today, but modifing the _link file afterwards to reference to the link target old revision.
Describe the bug
osc commands with revision are broken since it ignores revision setting.
For example:
returns a copy of the current revision instead of revision 110.
Another one is submitting an older revision:
which returns:
Versions
To Reproduce
Try one of the commands above, or similar.
Expected behavior
We should be able to checkout, copy or submit older revisions.
Screenshots, console outputs
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: