I am assuming that the point of preview is to see what the effect of an operation would be, and would therefore expect that preview up would tell me which packages would get updated. This does not see to be the case on 1.0.3:
(v1.0) pkg> preview up
โโโโโ Preview mode โโโโโ
[ Info: Skipping updating registry in preview mode
Resolving package versions...
Updating `C:\Users\Jeremy\.julia\environments\v1.0\Project.toml`
[no changes]
Updating `C:\Users\Jeremy\.julia\environments\v1.0\Manifest.toml`
[no changes]
Building skipping building in preview mode
โโโโโ Preview mode โโโโโ
(v1.0) pkg> up
Updating registry at `C:\Users\Jeremy\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed PyPlot โโโโโโโโโโ v2.7.0
Installed SoftGlobalScope โ v1.0.9
Installed Tokenize โโโโโโโโ v0.5.3
Installed IJulia โโโโโโโโโโ v1.15.2
Installed StaticArrays โโโโ v0.10.2
Installed StatsBase โโโโโโโ v0.27.0
Installed Atom โโโโโโโโโโโโ v0.7.12
Installed OrdinaryDiffEq โโ v4.19.0
Installed CodeTools โโโโโโโ v0.6.4
Installed DataStructures โโ v0.15.0
Installed WebSockets โโโโโโ v1.2.0
Installed Cassette โโโโโโโโ v0.2.1
Updating `C:\Users\Jeremy\.julia\environments\v1.0\Project.toml`
[c52e3926] โ Atom v0.7.11 โ v0.7.12
[7073ff75] โ IJulia v1.14.1 โ v1.15.2
[1dea7af3] โ OrdinaryDiffEq v4.18.3 โ v4.19.0
[d330b81b] โ PyPlot v2.6.3 โ v2.7.0
Updating `C:\Users\Jeremy\.julia\environments\v1.0\Manifest.toml`
[c52e3926] โ Atom v0.7.11 โ v0.7.12
[7057c7e9] โ Cassette v0.1.4 โ v0.2.1
[53a63b46] โ CodeTools v0.6.3 โ v0.6.4
[864edb3b] โ DataStructures v0.14.0 โ v0.15.0
[7073ff75] โ IJulia v1.14.1 โ v1.15.2
[1dea7af3] โ OrdinaryDiffEq v4.18.3 โ v4.19.0
[d330b81b] โ PyPlot v2.6.3 โ v2.7.0
[b85f4697] โ SoftGlobalScope v1.0.8 โ v1.0.9
[90137ffa] โ StaticArrays v0.10.0 โ v0.10.2
[2913bbd2] โ StatsBase v0.26.0 โ v0.27.0
[0796e94c] โ Tokenize v0.5.2 โ v0.5.3
[104b5d7c] โ WebSockets v1.1.1 โ v1.2.0
Building IJulia โ `C:\Users\Jeremy\.julia\packages\IJulia\GIANC\deps\build.log`
I think we should probably retire the preview functionality and implement undo instead.
An undo function would definitely be useful, but seems less elegant than a preview function, if used for preview purpose (obviously)
Preview is deleted.