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

Pkg.checkout() from tagged version fails unless checking out master #17146

Closed
dpsanders opened this issue Jun 27, 2016 · 5 comments
Closed

Pkg.checkout() from tagged version fails unless checking out master #17146

dpsanders opened this issue Jun 27, 2016 · 5 comments
Assignees
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request packages Package management and loading

Comments

@dpsanders
Copy link
Contributor

Starting from a tagged version:

julia> Pkg.checkout("TaylorSeries", "warningsv05")
INFO: Checking out TaylorSeries warningsv05...
ERROR: GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)

but this works if master is checkouted first.

@kshyatt kshyatt added the packages Package management and loading label Jun 27, 2016
@tkelman
Copy link
Contributor

tkelman commented Jun 27, 2016

closely related to #16372

@StefanKarpinski StefanKarpinski added this to the 0.5.x milestone Jul 28, 2016
@tkelman
Copy link
Contributor

tkelman commented Jul 28, 2016

should we try a fetch if this tracking-info failure occurs?

@StefanKarpinski StefanKarpinski added help wanted Indicates that a maintainer wants help on an issue or pull request and removed help wanted Indicates that a maintainer wants help on an issue or pull request labels Oct 27, 2016
@Keno
Copy link
Member

Keno commented Jan 26, 2017

Yes, we'll need to fetch here.

@omus
Copy link
Member

omus commented Mar 21, 2017

Note that if the supplied branch name doesn't exist Pkg.checkout will create a branch with that name at the current HEAD.

@simonbyrne
Copy link
Contributor

Should no longer be a problem with new Pkg. Please open further issues at https://github.com/JuliaLang/Pkg.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request packages Package management and loading
Projects
None yet
Development

No branches or pull requests

8 participants