Hi,

Please consider this question low priority -- I can just directly make
the changes to upgrade sage-6.5 to IPython 3 for now, then wait for
sage-6.6, which should appear any minute now anyways.

That said, shouldn't git fetch trac actually display some sort of
error rather than just exiting with code 1?

William

On Mon, Apr 6, 2015 at 7:35 AM, William Stein <wst...@gmail.com> wrote:
> I took a not-so clean Sage-6.5 install, installed git-trac (with no
> keys or login/password) and tried to check out the code from ticket
> 17826 (upgrade Ipython).  I just get some mysterious errors.    How am
> I supposed to debug this?
>
> salvus@devel1dc5:/usr/local/sage/current$ git trac checkout 17826
> Loading ticket #17826...
> Checking out Trac #17826 remote branch
> e070dd191bb189b83bae5a2a5c12bf4d70981040 -> local branch
> t/17826/e070dd191bb189b83bae5a2a5c12bf4d70981040
> ...
> Traceback (most recent call last):
>   File "/home/salvus/git-trac-command/bin/git-trac", line 18, in <module>
>     cmdline.launch()
>   File "/home/salvus/git-trac-command/git_trac/cmdline.py", line 205, in 
> launch
>     app.checkout(args.ticket_or_branch, args.branch_name)
>   File "/home/salvus/git-trac-command/git_trac/app.py", line 98, in checkout
>     self._checkout_ticket(int(ticket_or_branch), branch_name)
>   File "/home/salvus/git-trac-command/git_trac/app.py", line 122, in
> _checkout_ticket
>     self.repo.checkout_new_branch(ticket.branch, branch)
>   File "/home/salvus/git-trac-command/git_trac/git_repository.py",
> line 123, in checkout_new_branch
>     self.git.fetch('trac', remote)
>   File "/home/salvus/git-trac-command/git_trac/git_interface.py", line
> 341, in meth
>     return self.execute(git_cmd, *args, **kwds)
>   File "/home/salvus/git-trac-command/git_trac/git_interface.py", line
> 328, in execute
>     popen_stderr=subprocess.PIPE)
>   File "/home/salvus/git-trac-command/git_trac/git_interface.py", line
> 263, in _run
>     raise GitError(result)
> git_trac.git_error.GitError: git returned with non-zero exit code (1)
> when executing "git fetch trac
> e070dd191bb189b83bae5a2a5c12bf4d70981040"
> salvus@devel1dc5:/usr/local/sage/current$ git fetch trac
> e070dd191bb189b83bae5a2a5c12bf4d70981040
> salvus@devel1dc5:/usr/local/sage/current$ echo $?
> 1
> salvus@devel1dc5:/usr/local/sage/current$ git branch
> * develop



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to