author | Eric Wong <normalperson@yhbt.net> | |
Fri, 7 Sep 2007 11:00:40 +0000 (04:00 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Sep 2007 05:23:48 +0000 (22:23 -0700) | ||
commit | a51cdb0c0420ee3bef26bbd1a9aa75e1d464e5b7 | |
tree | 96fc8cdac5128b3193f15eb9f09c5cefa1f60d35 | tree | snapshot |
parent | ee834cf0c7de68557bc5c30552fce3e55f52e109 | commit | diff |
git-svn: fix "Malformed network data" with svn:// servers
We have a workaround for the reparent function not working
correctly on the SVN native protocol servers. This workaround
opens a new connection (SVN::Ra object) to the new
URL/directory.
Since libsvn appears limited to only supporting one connection
at a time, this workaround invalidates the Git::SVN::Ra object
that is $self inside gs_fetch_loop_common(). So we need to
restart that connection once all the fetching is done for each
loop iteration to be able to run get_log() successfully.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We have a workaround for the reparent function not working
correctly on the SVN native protocol servers. This workaround
opens a new connection (SVN::Ra object) to the new
URL/directory.
Since libsvn appears limited to only supporting one connection
at a time, this workaround invalidates the Git::SVN::Ra object
that is $self inside gs_fetch_loop_common(). So we need to
restart that connection once all the fetching is done for each
loop iteration to be able to run get_log() successfully.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl | diff | blob | history |