Open IanButterworth opened 4 months ago
Makes sense to me. Though, it seems strange to me that we don't have another way of printing a status diff (apart from Pkg.up
), right?
We do, you can feed the old env into ctx.env.old, then call status(mode:diff)
or something like that, but the diff actually seems more likely to be minimal with this approach of using up
rather than stripping out the manifest then calling resolve, I feel.
Bump for review pls. @KristofferC @fredrikekre
I don't have strong feelings what should happen in this case. I'm a bit uneasy about backporting it though.
Fixes https://github.com/JuliaLang/Pkg.jl/issues/3789
Simplifies by calling
up
on the temp env, and shows the diff.There are two status prints if this happens.