Ah... understood. Many thanks.

I'm afraid I'm still not getting the desired result however. After running 
checkout on "Atom", "CodeTools" and "JuliaParser" I run Pkg.status() and 
can verify I'm on the master branch for all 3. So I fire up Atom again, try 
to evaluate in the editor, and get the following error:

INFO: Recompiling stale cache file 
/home/colin/.julia/lib/v0.4/JuliaParser.ji
Julia has stopped: 1, null

So I close down Atom, open it again, and try to evaluate in the editor 
again. This time I get:

INFO: Recompiling stale cache file /home/colin/.julia/lib/v0.4/CodeTools.ji
Julia has stopped: 1, null

Close down Atom one more time, re-open it and try again. Now I get:

INFO: Recompiling stale cache file /home/colin/.julia/lib/v0.4/Atom.ji

but everything is now working fine. Problem solved? Unfortunately not. I 
restart Atom again and I'm back to all the deprecation warnings, even 
though Pkg.status() indicates I'm still on the master branch for Atom, 
CodeTools, and JuliaParser.

Apologies for the long message. Also, if this is one of those things that 
will resolve itself over the next couple of weeks as changes from master 
are pushed to the more stable branches, then I'm happy to ignore the 
warnings for the time being and not waste anyone's time any further with 
what is essentially a minor inconvenience.

Cheers,

Colin




On Wednesday, 28 October 2015 11:37:21 UTC+11, Spencer Russell wrote:
>
> `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] <javascript:> 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