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

John Ralls jralls at ceridwen.us
Mon Aug 19 13:16:31 EDT 2013


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.

Regards,
John Ralls


More information about the gnucash-devel mailing list