vendor
doesn't work with dependencies with different revs from same git
#10667
Labels
vendor
doesn't work with dependencies with different revs from same git
#10667
Problem
vendor
doesn't work with dependencies with different revs from same git. it should generate source replacement entry for each git revision.The expected behavior is in the test case
cc @alexcrichton
Steps
test case
Possible Solution(s)
Use the
SourceId
url instead of git url for source name to avoid the source entry being overwritten. AtkinsChang@3a0fd08ex.
[source."git+https://github.com/rust-lang/cargo?rev=6d6dd9d#6d6dd9d9be9c91390da620adf43581619c2fa90e"]
instead of
[source."https://github.com/rust-lang/cargo"]
Notes
If this solution is okay, I'll pr it.
Version
The text was updated successfully, but these errors were encountered: