Ah!  I had a look at the source code for `Pkg.init` and see that its default 
first argument is DEFAULT_META, which is initialized to 
"git://github.com/JuliaLang/METADATA.jl".  So `Pkg.init` is used to point the 
package manager to the global METAFILE package directory.  This is definitely 
not what I took away from the documentation, which reads:


help?> Pkg.init
Base.Pkg.init()

   Initialize "Pkg.dir()" as a package directory. This will be done
   automatically when the "JULIA_PKGDIR" is not set and
   "Pkg.dir()" uses its default value.



This is the same as the online docs.  Since the documentation talks about 
`Pkg.dir()` I thought it was for establishing the local package repository 
location.  Looks like the documentation wrong/out of date?  

Thanks,
--Peter

Reply via email to