> On Aug 14, 2016, at 21:16 , leif <not.rea...@online.de> wrote: > > Justin C. Walker wrote: >> >>> On Aug 14, 2016, at 14:06 , Volker Braun <vbraun.n...@gmail.com> wrote: >>> >>> You need the newest git-trac version, presumably you checked out the repo >>> somewhere. Find it and run "git pull (in the git-trac repo folder) >> >> Thanks for that; the updated git-trac did better. Then I ran into this, >> which perhaps has to do with the fact that the repository named in the >> ticket is in “/u”? > > I fail to see a leading slash in the branch name used in the command at > least, so that should work.
Since this is not yet ingrained, “u/…” should be accessible? > Loading ticket #4120... >> Checking out Trac #4120 remote branch u/pbruin/4120-binary_quadratic_forms >> -> local branch t/4120/4120-binary_quadratic_forms... >> Traceback (most recent call last): >> File "/Users/justin/bin/git-trac", line 18, in <module> >> cmdline.launch() >> File "/Users/justin/bin/git-trac-command/git_trac/cmdline.py", line 215, in >> launch >> app.checkout(args.ticket_or_branch, args.branch_name) >> File "/Users/justin/bin/git-trac-command/git_trac/app.py", line 116, in >> checkout >> self._checkout_ticket(int(ticket_or_branch), branch_name) >> File "/Users/justin/bin/git-trac-command/git_trac/app.py", line 144, in >> _checkout_ticket >> self.repo.checkout_new_branch(ticket.branch, branch) >> File "/Users/justin/bin/git-trac-command/git_trac/git_repository.py", line >> 136, in checkout_new_branch >> self.git.fetch('trac', remote) >> File "/Users/justin/bin/git-trac-command/git_trac/git_interface.py", line >> 341, in meth >> return self.execute(git_cmd, *args, **kwds) >> File "/Users/justin/bin/git-trac-command/git_trac/git_interface.py", line >> 328, in execute >> popen_stderr=subprocess.PIPE) >> File "/Users/justin/bin/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 (128) when >> executing "git fetch trac u/pbruin/4120-binary_quadratic_forms" >> STDERR: fatal: 'trac' does not appear to be a git repository >> STDERR: fatal: Could not read from remote repository. >> STDERR: >> STDERR: Please make sure you have the correct access rights >> STDERR: and the repository exists. > > You apparently haven't set up 'trac' as a remote. > > (Perhaps "reinstalling" git-trac requires reconfiguring, no idea.) > > See [1] for setting it up with "plain" git, which should also work with > git-trac. > > [2] tells us 'git trac config ...' would automatically do that, so > perhaps first check what 'git remote -v' gives. origin git://trac.sagemath.org/sage.git (fetch) origin git://trac.sagemath.org/sage.git (push) > Otherwise do > > git fetch origin u/pbruin/4120-binary_quadratic_forms > > git checkout -b t/4120/4120-binary_quadratic_forms FETCH_HEAD I will try this. Thanks for the pointers... -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. ----------- -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.