OK, I thought that might be it (although all I really wanted was
read-only access), so I ran 'git trac config', see below. But it still
fails.

I guess it's just not my day ...

On 13 August 2016 at 16:13, Volker Braun <vbraun.n...@gmail.com> wrote:
> You missed "git trac config"
>


wspage@sarah ~/sage $ git trac config --user bpage --pass 'xxx'
Saved trac username.
Saved trac password.
Trac xmlrpc URL:
    https://trac.sagemath.org/xmlrpc (anonymous)
    https://trac.sagemath.org/login/xmlrpc (authenticated)
    realm sage.math.washington.edu
Username: bpage
Password: xxx
Retrieving SSH keys...
    4096 SHA256:tZKL8qzKXq37V4c0MR7KwpA8OZRjNsXyWama8cN6KOs
bill.p...@newsynthesis.org (RSA)
    2048 SHA256:LKhC6fbZQyINK+kBMbeGjNAJ+FR+4qHmo264OcdBkR0
b04b5777e2694c8fa4b8b21dbe1c93c6@compute4-us (RSA)
wspage@sarah ~/sage $ git remote -v
origin    git://github.com/sagemath/sage.git (fetch)
origin    git://github.com/sagemath/sage.git (push)
trac    git://trac.sagemath.org/sage.git (fetch)
trac    g...@trac.sagemath.org:sage.git (push)
wspage@sarah ~/sage $ git trac checkout 21231
Loading ticket #21231...

Checking out Trac #21231 remote branch /u/mantepse/21231 -> local
branch t/21231//u/mantepse/21231...
Traceback (most recent call last):
  File "/home/wspage/git-trac-command/bin/git-trac", line 18, in <module>
    cmdline.launch()
  File "/home/wspage/git-trac-command/git_trac/cmdline.py", line 215, in launch
    app.checkout(args.ticket_or_branch, args.branch_name)
  File "/home/wspage/git-trac-command/git_trac/app.py", line 116, in checkout
    self._checkout_ticket(int(ticket_or_branch), branch_name)
  File "/home/wspage/git-trac-command/git_trac/app.py", line 144, in
_checkout_ticket
    self.repo.checkout_new_branch(ticket.branch, branch)
  File "/home/wspage/git-trac-command/git_trac/git_repository.py",
line 136, in checkout_new_branch
    self.git.fetch('trac', remote)
  File "/home/wspage/git-trac-command/git_trac/git_interface.py", line
341, in meth
    return self.execute(git_cmd, *args, **kwds)
  File "/home/wspage/git-trac-command/git_trac/git_interface.py", line
328, in execute
    popen_stderr=subprocess.PIPE)
  File "/home/wspage/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/mantepse/21231"
    STDERR: fatal: Invalid refspec '/u/mantepse/21231'

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

Reply via email to