[julia-users] Re: Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-15 Thread Rahul Mourya
Well I did as suggested above: I deleted the entire .julia directory while 
keeping only REQUIRE file somewhere. I followed the suggestion by David. 
With Pkg.resolve(), julia installed all my previous packages. However, 
Pkg.update() generate the same errors!!

On Tuesday, 13 September 2016 16:54:43 UTC+2, Rahul Mourya wrote:
>
> Hi,
> I'm using Julia-0.4.6. My machine is behind a firewall, thus configured 
> git to use https: git config --global url."https://".insteadOf git://.
> Under this setting, I'm able to install packages using Pkg.add(), however, 
> when I use Pkg.update(), I get following error:
>
> INFO: Updating METADATA...
> Cannot pull with rebase: You have unstaged changes.
> Please commit or stash them.
> ERROR: failed process: Process(`git pull --rebase -q`, ProcessExited(1)) 
> [1]
>  in pipeline_error at process.jl:555
>  in run at process.jl:531
>  in anonymous at pkg/entry.jl:283
>  in withenv at env.jl:160
>  in anonymous at pkg/entry.jl:282
>  in cd at ./file.jl:22
>  in update at ./pkg/entry.jl:272
>  in anonymous at pkg/dir.jl:31
>  in cd at file.jl:22
>  in cd at pkg/dir.jl:31
>  in update at ./pkg.jl:45
>
> what could be the reason? Any workaround this?
>
> Thanks!
>


[julia-users] Re: Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-14 Thread Rahul Mourya
Well I didn't make any intentional change my own. I guess it's the Pkg 
manager, which was not successful ! I did git stash, however it didn't 
solve the problem, I'm still getting same error msg when using Pkg.update() 
.

On Tuesday, 13 September 2016 16:54:43 UTC+2, Rahul Mourya wrote:
>
> Hi,
> I'm using Julia-0.4.6. My machine is behind a firewall, thus configured 
> git to use https: git config --global url."https://".insteadOf git://.
> Under this setting, I'm able to install packages using Pkg.add(), however, 
> when I use Pkg.update(), I get following error:
>
> INFO: Updating METADATA...
> Cannot pull with rebase: You have unstaged changes.
> Please commit or stash them.
> ERROR: failed process: Process(`git pull --rebase -q`, ProcessExited(1)) 
> [1]
>  in pipeline_error at process.jl:555
>  in run at process.jl:531
>  in anonymous at pkg/entry.jl:283
>  in withenv at env.jl:160
>  in anonymous at pkg/entry.jl:282
>  in cd at ./file.jl:22
>  in update at ./pkg/entry.jl:272
>  in anonymous at pkg/dir.jl:31
>  in cd at file.jl:22
>  in cd at pkg/dir.jl:31
>  in update at ./pkg.jl:45
>
> what could be the reason? Any workaround this?
>
> Thanks!
>


[julia-users] Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-13 Thread Rahul Mourya
Hi,
I'm using Julia-0.4.6. My machine is behind a firewall, thus configured git 
to use https: git config --global url."https://".insteadOf git://.
Under this setting, I'm able to install packages using Pkg.add(), however, 
when I use Pkg.update(), I get following error:

INFO: Updating METADATA...
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
ERROR: failed process: Process(`git pull --rebase -q`, ProcessExited(1)) [1]
 in pipeline_error at process.jl:555
 in run at process.jl:531
 in anonymous at pkg/entry.jl:283
 in withenv at env.jl:160
 in anonymous at pkg/entry.jl:282
 in cd at ./file.jl:22
 in update at ./pkg/entry.jl:272
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in update at ./pkg.jl:45

what could be the reason? Any workaround this?

Thanks!