`Pkg.checkout(…)` operates an an already-installed package, so it must be run 
after `Pkg.add(…)`.

-s

> On Oct 27, 2015, at 8:31 PM, [email protected] wrote:
> 
> I suppose I could clone the master branch. Is that a bad idea?
> 
> On Wednesday, 28 October 2015 11:30:43 UTC+11, [email protected] wrote:
> Thanks for responding.
> 
> Pkg.checkout("Atom") gives me the error:
> 
> ERROR: Atom is not a git repo
>  in checkout at pkg/entry.jl:203
>  in anonymous at pkg/dir.jl:31
>  in cd at file.jl:22
>  in cd at pkg/dir.jl:31
>  in checkout at pkg.jl:37
> 
> (I originally did try using Pkg.checkout as per the instructions, but got 
> this error, and so went with Pkg.add instead).
> 
> Any thoughts or is this a bug?
> 
> Cheers,
> 
> Colin
> 
> 
> On Wednesday, 28 October 2015 11:23:30 UTC+11, Jonathan Malmaud wrote:
> You want to be on the master versions:
> Pkg.checkout("Atom")
> Pkg.checkout("CodeTools")
> 

Reply via email to