Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't checkout Atom/Codetools #15

Closed
nilshg opened this issue Sep 2, 2015 · 6 comments
Closed

Can't checkout Atom/Codetools #15

nilshg opened this issue Sep 2, 2015 · 6 comments

Comments

@nilshg
Copy link

nilshg commented Sep 2, 2015

I'm probably being dense here, but:

julia> Pkg.checkout("http://github.com/JunoLab/Atom.jl")
ERROR: http://github.com/JunoLab/Atom.jl is not a git repo

julia> Pkg.checkout("Atom")
ERROR: Atom is dirty, bailing

How can I get the latest fixes?

@pfitzseb
Copy link
Member

pfitzseb commented Sep 2, 2015

Pkg.rm("Atom")
Pkg.clone("http://github.com/JunoLab/Atom.jl")

should do the trick.
If not, manually delete the Atom folder from ~\.julia\v0.4 and try cloning again. And don't forget to close Atom (or rather the Julia instance started from Atom) first, I think there may be problems otherwise...

@MikeInnes
Copy link
Member

The rule is – Pkg.checkout if you already have it, Pkg.clone if you don't (and Pkg.clone("Atom") will work).

@Varanas is exactly right about how to fix this – you have local changes to Atom.jl so Pkg refuses to overwrite them. You can just nuke the whole folder, or you can make a PR out of your changes and then checkout the master branch ;)

@nilshg
Copy link
Author

nilshg commented Sep 2, 2015

Ah, my local changes were the culprit! Those changes were just those few lines about cutting up large vectors for the inline display, so they're in a PR already. Learned something today!

@nilshg nilshg closed this as completed Sep 2, 2015
@MikeInnes
Copy link
Member

Can you link me to that btw? I seem to have lost it...

@pfitzseb
Copy link
Member

pfitzseb commented Sep 2, 2015

It's that one... Just to the wrong repo, @nilshg.

Not really related, but could we have another gitter chat or reuse the old one for talking about Juno, @one-more-minute? I feel that's somewhat nicer for brainstorming and resolving small problems and stuff than github issues (and those are/should be specific to one repo, not necessarily about the whole project).

@MikeInnes
Copy link
Member

Ah, nice sleuthing. Yeah, I'll go ahead and set up a gitter for JunoLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants