Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Odd number of elements in anonymous hash

From: Eric Wong <hidden>
Date: 2016-06-15 22:44:04

Junio C Hamano [off-list ref] wrote:
Dennis Schridde [off-list ref] writes:
quoted
Hello!

I am getting "Odd number of elements in anonymous hash at /usr/bin/git-svn 
line 1760." (normal output, no warning/error) during git-svn-clone.
I am using git version 1.5.4.rc2.

Line 1760 is this (with context, marked with '!!'):
    # see if we have it in our config, first:
    eval {
        my $section = "svn-remote.$self->{repo_id}";
!!        $svnsync = {
          url => tmp_config('--get', "$section.svnsync-url"),
          uuid => tmp_config('--get', "$section.svnsync-uuid"),
        }
    };

The commandline was "git svn 
clone --authors-file=/var/git/org.gna.warzone.git/authors --use-svnsync-props --stdlayout 
file:///var/svn/warzone2100/ org.gna.warzone.git/"

I assume this is some kind of bug?
More than one svn-remote.$your_repo.svnsync-{url,uuid}?

(Eric CC'ed).
I don't use svnsync myself.  I think Sam does, or would have more
insight into this than myself.  I'll hopefully have time to take a
harder look at it later tonight.

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help