$ git fetch trac e070dd191bb189b83bae5a2a5c12bf4d70981040
>From trac.sagemath.org:sage
 * branch            e070dd191bb189b83bae5a2a5c12bf4d70981040 -> FETCH_HEAD
$ echo $?
0

Interesting, I get return code 0. Did it actually fetch anything (ie. 
FETCH_HEAD is set)? Why didn't it print anything to stdout?

$ git --version
git version 2.1.0




On Monday, April 6, 2015 at 4:36:40 PM UTC+2, William 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 
>

-- 
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