On 2014-03-03 15:04, Volker Braun wrote:
Miguel pointed out to me that the dev scripts break when they find only
the SHA1 hash in the "Branch:" field.
This is still the case:

jdemeyer@sage3:/opt/sage/sage-6.3$ ./sage --dev checkout --ticket 16800
The branch field on ticket #16800 is set to the non-existent "e4cfbba3cdbda98fbb772f1dc5b1a6b40cae7994". Please set the field on trac to a field value.

# (use "sage --dev edit-ticket --ticket=16800" to edit the ticket description)


Using git directly or the git-trac script works, for the record.
Unfortunately, it doesn't work for me. I'm probably missing some basic configuration, but I don't know what I did wrong:

jdemeyer@sage3:/opt/sage/sage-6.3$ git trac checkout 16800
Loading ticket #16800...
Checking out Trac #16800 remote branch e4cfbba3cdbda98fbb772f1dc5b1a6b40cae7994 -> local branch t/16800/e4cfbba3cdbda98fbb772f1dc5b1a6b40cae7994...
Traceback (most recent call last):
File "/opt/sage/sage-6.3/git-trac-command/bin/git-trac", line 18, in <module>
    cmdline.launch()
File "/opt/sage/sage-6.3/git-trac-command/git_trac/cmdline.py", line 204, in launch
    app.checkout(args.ticket_or_branch, args.branch_name)
File "/opt/sage/sage-6.3/git-trac-command/git_trac/app.py", line 98, in checkout
    self._checkout_ticket(int(ticket_or_branch), branch_name)
File "/opt/sage/sage-6.3/git-trac-command/git_trac/app.py", line 122, in _checkout_ticket
    self.repo.checkout_new_branch(ticket.branch, branch)
File "/opt/sage/sage-6.3/git-trac-command/git_trac/git_repository.py", line 123, in checkout_new_branch
    self.git.fetch('trac', remote)
File "/opt/sage/sage-6.3/git-trac-command/git_trac/git_interface.py", line 341, in meth
    return self.execute(git_cmd, *args, **kwds)
File "/opt/sage/sage-6.3/git-trac-command/git_trac/git_interface.py", line 328, in execute
    popen_stderr=subprocess.PIPE)
File "/opt/sage/sage-6.3/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 e4cfbba3cdbda98fbb772f1dc5b1a6b40cae7994"
    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 received this message because you are subscribed to the Google Groups 
"sage-git" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to