OK, the problem was apparently that my origin was set to github and the
trac fetch config setting somehow only included master. Only after I
changed that to * and I manually did a full git fetch trac, the trac
branches were made known to my git.

Probably many other problems I had with trac came from this.


On Mon, Apr 7, 2014 at 10:04 AM, Ralf Stephan <gtrw...@gmail.com> wrote:

> Although both origin and trac are set in .git/config as remotes, and git
> config -l show both equally set, this behaves dfifferent:
>
> ralf@ark:~/sage> git branch --set-upstream-to remotes/origin/master
> Branch tmp set up to track remote branch master from origin.
> ralf@ark:~/sage> git branch --set-upstream-to remotes/trac/master
> fatal: Not a valid object name: 'remotes/trac/master'.
>
>
> On Mon, Apr 7, 2014 at 9:36 AM, Ralf Stephan <gtrw...@gmail.com> wrote:
>
>> git version is 1.8.1.4
>> show-ref includes
>>
>> 8be52e678f5af0e62794959b70b7cb8babe0a488 refs/remotes/origin/HEAD
>> 12bbca024b3a3728e35c76e1e11be08138d17370 refs/remotes/origin/develop
>> 8be52e678f5af0e62794959b70b7cb8babe0a488 refs/remotes/origin/master
>> 6452f9d3e447f683b98387807b1f737a62ef4119 refs/remotes/upstream/develop
>> 8be52e678f5af0e62794959b70b7cb8babe0a488 refs/remotes/upstream/master
>>
>> which are the same I get with git branch -r
>>
>> I also changed the sage/.git/config line
>> [remote "trac"]
>> url = g...@trac.sagemath.org:sage.git
>> # url = ssh://g...@trac.sagemath.org/sage.git
>> fetch = +refs/heads/master:refs/remotes/trac/master
>> to
>> fetch = +refs/heads/*:refs/remotes/trac/*
>>
>> without any difference.
>>
>>
>> On Mon, Apr 7, 2014 at 9:10 AM, Volker Braun <vbraun.n...@gmail.com>wrote:
>>
>>> Interesting, which git version is that? Also, whats the output of git
>>> show-ref?
>>>
>>> The refs/remotes/ are supposed to be symbolic names for the remote...
>>>
>>>
>>>
>>> On Monday, April 7, 2014 7:43:57 AM UTC+1, Ralf Stephan wrote:
>>>>
>>>> Traceback (most recent call last):
>>>> ...
>>>> git_trac.git_error.GitError: git returned with non-zero exit code (128)
>>>> when executing "git branch --set-upstream-to remotes/trac/public/13853"
>>>>     STDERR: fatal: Not a valid object name: 'remotes/trac/public/13853'.
>>>>
>>>>  remotes/trac?
>>>>
>>>  --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-devel" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-devel/arhblO0MX7g/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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.
>>>
>>
>>
>

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