Expected: If one passes an pipurl with a ...@some-branch the branch should be picked.
Current behavior: It ignores the given branch and uses the default branch (like master or main).
Analysis:
rev is parsed correctly
rev is passed to the specialized classes constructor as kwarg, i.e. for Git.
- from there
rev is passed to the base class constructor as kwarg.
- In the base class constructor all kwargs are ignored.
Solution:
If a kwargs rev is passed to the base constructor, stored it as an instance variable.