Revert updated package to track normal development

58 views
Skip to first unread message

Kevin Squire

unread,
Dec 17, 2012, 12:50:07 PM12/17/12
to juli...@googlegroups.com
Okay, let's say I find a bug or introduce a feature in my favorite package.  I go ahead and check out a branch, make my changes, push upstream, and lo and behold, it gets accepted.

What's the best way go back to tracking normal development?  Removing and adding the package back seemed like it should work, but just left the package the way it was.  I did end up going into .julia/METADATA.jl, finding the correct sha1 for my version, and checking that out.  Is there a better way?

Kevin

Stefan Karpinski

unread,
Dec 17, 2012, 12:54:50 PM12/17/12
to Julia Dev
This is a bit of a pain right now. You can do this in the package directory:

git checkout HEAD^0

And then do Pkg.update() and it should resume managing the package. I should create a command that does this for you.



Kevin

--
 
 
 

Kevin Squire

unread,
Dec 17, 2012, 1:05:30 PM12/17/12
to juli...@googlegroups.com
That's useful (and a command in Pkg would be even more useful).  Thanks, Stefan.

Kevin
Message has been deleted

Kevin Squire

unread,
Dec 17, 2012, 1:11:57 PM12/17/12
to juli...@googlegroups.com
See https://github.com/JuliaLang/julia/issues/1778.

(Special feature: dual recursion!)

Stefan Karpinski

unread,
Dec 17, 2012, 3:10:57 PM12/17/12
to juli...@googlegroups.com
Thanks!
--
 
 
 
Reply all
Reply to author
Forward
0 new messages