Zulip Chat Archive
Stream: lean4
Topic: Possible bug with lake update
Tomaz Gomes Mascarenhas (Dec 23 2022 at 01:26):
Hi, I don't think the behavior of lake update
is correct in the following case:
- Create new project with
lake new test
- Change
lakefile.lean
to importstd4
- Run
lake update
to clonestd4
into./lean_packages
- Change
lakefile.lean
to importmathlib4
- Run
lake update
to clonemathlib4
into./lean_packages
this last command returns the following error:
error: cannot find revision master in repository ./lean_packages/std
Gabriel Ebner (Dec 23 2022 at 02:09):
If you still have the lean_packages
directory then you have an old version of Lake/Lean. Please upgrade Lean. (if you depend on mathlib4, then you should use the same version as mathlib4)
Last updated: Dec 20 2023 at 11:08 UTC