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 documentation for Remote.set_url states that new_url is "add[ed] as an extra remote URL" unless old_url parameter is passed. However, the way it is currently written, the method actually replaces the existing URL instead of adding a new one.
I have a patch ready, but I'll hold off submitting a pull request since the current TestRemote.test_multiple_urls in test_remote.py actually depends on the current behavior, so I'm not sure whether to change the set_url docstring or the behavior.
Here I recommend improving the documentation to clarify what it does while considering the addition of another method to exhibit the new behaviour of actually adding another URL on top of the existing one as multi-value.
The documentation for
Remote.set_url
states thatnew_url
is "add[ed] as an extra remote URL" unlessold_url
parameter is passed. However, the way it is currently written, the method actually replaces the existing URL instead of adding a new one.actual output:
expected:
The text was updated successfully, but these errors were encountered: