Cron <git-svn at code> $HOME/git-svn-sync

Derek Atkins derek at ihtfp.com
Mon Aug 19 13:22:49 EDT 2013


On Mon, August 19, 2013 1:16 pm, John Ralls wrote:
>
> On Aug 19, 2013, at 10:00 AM, Derek Atkins <derek at ihtfp.com> wrote:
>
>>
>> On Mon, August 19, 2013 12:53 pm, John Ralls wrote:
>>
>>>> Date: Thu, 15 Aug 2013 15:09:03 -0400 (3 days, 21 hours, 14 minutes
>>>> ago)
>>>>
>>>> Running git svn fetch
>>>> Everything up-to-date
>>>> Everything up-to-date
>>>> Running git svn fetch
>>>> remote: fatal: bad default revision 'HEAD'
>>>> remote: fatal: bad default revision 'HEAD'
>>>> remote: *** Push refs to origin (usually github)...
>>>> remote: To ssh://git@github.com/Gnucash/gnucash-docs.git
>>>> remote:    826ce2b..0d1348d  trunk -> trunk
>>>> remote: Everything up-to-date
>>>> To ssh://git@code.gnucash.org/gnucash-docs.git
>>>>  826ce2b..0d1348d  svn/trunk -> trunk
>>>> Everything up-to-date
>>>
>>> Did someone remove the HEAD reference to refs/heads/trunk in the
>>> gitolite
>>> repo? See
>>> http://stackoverflow.com/questions/6214711/git-log-and-show-on-a-bare-repo#answers
>>
>> In which repo?
>>
>> Looks like it exists in all three:
>>
>> [root at code repositories]# ls -l gnucash*/refs/heads/trunk
>> -rw------- 1 git gitolite3 41 Aug 15 15:12
>> gnucash-docs.git/refs/heads/trunk
>> -rw------- 1 git gitolite3 41 Aug 18 18:56 gnucash.git/refs/heads/trunk
>> -rw------- 1 git gitolite3 23 May 28 04:52
>> gnucash-htdocs.git/refs/heads/trunk
>>
>
> Not quite what I meant. Try `cat gnucash*/HEAD`. They should all be "ref:
> refs/heads/trunk". Note that gnucash-htdocs isn't svn any more and that
> the two emails you posted indicated the problem existed in both gnucash
> and gnucash-docs.

[root at code repositories]# cat gnucash*/HEAD
ref: refs/heads/master
ref: refs/heads/master
ref: refs/heads/master

So it looks like they all look like they point to master.  This all
happened back in January:

[root at code repositories]# ls -l gnucash*/HEAD
-rw------- 1 git gitolite3 23 Jan 22  2013 gnucash-docs.git/HEAD
-rw------- 1 git gitolite3 23 Jan 22  2013 gnucash.git/HEAD
-rw------- 1 git gitolite3 23 Jan 22  2013 gnucash-htdocs.git/HEAD

Only one repo has a refs/heads/master:

[root at code repositories]# ls -l gnucash*/refs/heads/master
-rw------- 1 git gitolite3 41 Aug  5 16:18
gnucash-htdocs.git/refs/heads/master

I don't know if the other repos had them ever, but perhaps we're barking
up the wrong tree?

> Regards,
> John Ralls

-derek
-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-devel mailing list