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
error: failed to resolve patches for `ssh://[email protected]/myslug/myrepo.git`
Caused by:
patch for `my-crate` in `ssh://[email protected]/myslug/myrepo.git` points to the same source, but patches must point to different sources
Steps
cargo fetch
Possible Solution(s)
A trick that works is to append an empty fragment to the end of the git URL.
Problem
Specifying a
[patch]
for a (git) crate does not takebranch
(orrev
(and maybe alsotag
)) into account:Steps
cargo fetch
Possible Solution(s)
A trick that works is to append an empty fragment to the end of the git URL.
This works:
Notes
Version
The text was updated successfully, but these errors were encountered: