Does anyone have a good way to change repositories? A common example for me is, Sundials is in JuliaDiffEq, so I fork it to my Github account for an extended PR, but to work on it I need to remove my current Sundials install and clone from my own repository. However, METADATA does not like this at all:
julia> Pkg.rm("Sundials") # Remove the JuliaDiffEq/Sundials version WARNING: unknown DataFrames commit 84523937, metadata may be ahead of package cache INFO: No packages to install, update or remove INFO: Package database updated julia> Pkg.clone("https://github.com/ChrisRackauckas/Sundials.jl.git") # Install from my Github INFO: Cloning Sundials from https://github.com/ChrisRackauckas/Sundials.jl.git ERROR: Sundials already exists in clone(::String, ::SubString{String}) at .\pkg\entry.jl:193 in clone(::String) at .\pkg\entry.jl:221 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#clone,Tuple{String}})() at .\pkg\dir.jl:31 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#clone,Tuple{String}}, ::String) at .\file.jl:58 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at .\pkg\dir.jl:31 in clone(::String) at .\pkg\pkg.jl:151 In the past I would just delete METADATA and let it re-create itself, and that will fix it, but then you have to re-install packages which can be a mess. Since this is becoming much more common for me, I need a better way to handle this. Does anyone have a better workflow?