Replies: 1 comment
-
|
The version database comes from the reference SHA, that's expected behavior. But the diagnostic could be better. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
You have a buggy vcpkg-configuration.json and a registry's kind
git.You wrongly set
referenceto a branch that is older thanbaseline.vcpkg installwill fails with error like:Vcpkg reads
versions/baseline.jsonatreferencebranch, then checkout atbaselineand finally try to install latest package. Sincebaselinehas versions thatreferencedoesn't have, vcpkg complains.Error is tricky so I think that vcpkg should check that
baselinecommit is not newer thanmasterbranch.Failure logs
Log with --debug
Additional context
In my case, I cloned vcpkg locally (in
d:/vcpkg) to speedup fetching.My problem is that I fetched but I don't
checkout -B main origin/mainso myreferencebranch became older than mybaselinecommit.Beta Was this translation helpful? Give feedback.
All reactions