{"thread":{"id":"20217","subject":"git-svn error: RA layer request failed: PROPFIND request failed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h':","startedAt":"2009-07-24T14:45:06Z","lastAt":"2009-07-27T13:44:18Z","messageCount":3,"participants":["Timothy Schaeffer","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118629","messageId":"138905EB75AB0D44B6A0ECD251A92EA7011BA99E@sdra00198.intranet.dra-inc.net","threadId":"20217","inReplyTo":null,"subject":"git-svn error: RA layer request failed: PROPFIND request failed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h':","fromName":"Timothy Schaeffer","fromEmail":"tschaeffer@dramail.com","sentAt":"2009-07-24T14:45:06Z","receivedAt":"2009-07-24T14:45:06Z","isPatch":false,"sender":{"key":"tschaeffer@dramail.com","avatar":null},"body":"Git-svn has been giving me the following error for some time when calling \"git svn dcommit\":\n\nRA layer request failed: PROPFIND request failed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \nPROPFIND of '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \n302 Found (https://oursvnrepo.net) at /usr/local/libexec/git-core/git-svn line 508\n\nThis only occurred when git detected a rename or copy.\n\nFollowing the lead into git-svn.perl, \nand noticing that some of the '/'s in the path were hex-encoded \nand some were not, \nI changed the regex used to find chars \nto hex-encode in the relative part of the path \nto exclude '/'.  \nIt works, so far.  \nI have included a patch.\n\nTim S.\n\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex 43c86e8..864b752 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -3953,7 +3953,7 @@ sub repo_path {\n sub url_path {\n \tmy ($self, $path) = @_;\n \tif ($self->{url} =~ m#^https?://#) {\n-\t\t$path =~ s/([^~a-zA-Z0-9_.-])/uc sprintf(\"%%%02x\",ord($1))/eg;\n+\t\t$path =~ s/([^~a-zA-Z0-9_.-\\/])/uc sprintf(\"%%%02x\",ord($1))/eg;\n \t}\n \t$self->{url} . '/' . $self->repo_path($path);\n }\n"},{"id":"118709","messageId":"20090725093633.GA15880@dcvr.yhbt.net","threadId":"20217","inReplyTo":"138905EB75AB0D44B6A0ECD251A92EA7011BA99E@sdra00198.intranet.dra-inc.net","subject":"Re: git-svn error: RA layer request failed: PROPFIND request failed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h':","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-07-25T09:36:33Z","receivedAt":"2009-07-25T09:36:33Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Timothy Schaeffer <tschaeffer@dramail.com> wrote:\n> Git-svn has been giving me the following error for some time when calling \"git svn dcommit\":\n> \n> RA layer request failed: PROPFIND request failed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \n> PROPFIND of '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \n> 302 Found (https://oursvnrepo.net) at /usr/local/libexec/git-core/git-svn line 508\n> \n> This only occurred when git detected a rename or copy.\n> \n> Following the lead into git-svn.perl, \n> and noticing that some of the '/'s in the path were hex-encoded \n> and some were not, \n> I changed the regex used to find chars \n> to hex-encode in the relative part of the path \n> to exclude '/'.  \n> It works, so far.  \n> I have included a patch.\n\nHi Timothy,\n\nThanks for the bug report and patch, i'll push it out shortly.  I'm\ncurious, do you happen to know which version of Subversion the server\nwas running?  I'm unable to reproduce the problem, but I wouldn't be\nsurprised if it's only a problem with newere versions.  Thanks.\n\n-- \nEric Wong\n"},{"id":"118877","messageId":"138905EB75AB0D44B6A0ECD251A92EA7011BAA76@sdra00198.intranet.dra-inc.net","threadId":"20217","inReplyTo":"20090725093633.GA15880@dcvr.yhbt.net","subject":"RE: git-svn error: RA layer request failed: PROPFIND requestfailed on '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h':","fromName":"Timothy Schaeffer","fromEmail":"tschaeffer@dramail.com","sentAt":"2009-07-27T13:44:18Z","receivedAt":"2009-07-27T13:44:18Z","isPatch":false,"sender":{"key":"tschaeffer@dramail.com","avatar":null},"body":" \n\n> -----Original Message-----\n> From: Eric Wong [mailto:normalperson@yhbt.net] \n> Timothy Schaeffer <tschaeffer@dramail.com> wrote:\n> > Git-svn has been giving me the following error for some \n> time when calling \"git svn dcommit\":\n> > \n> > RA layer request failed: PROPFIND request failed on \n> '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \n> > PROPFIND of \n> '/svn/stf/branches/dev/sw%2Fdpemu%2Finclude%2FNetCnxn.h': \n> > 302 Found (https://oursvnrepo.net) at \n> > /usr/local/libexec/git-core/git-svn line 508\n> > \n> > This only occurred when git detected a rename or copy.\n> > \n> > Following the lead into git-svn.perl, and noticing that some of the \n> > '/'s in the path were hex-encoded and some were not, I changed the \n> > regex used to find chars to hex-encode in the relative part of the \n> > path to exclude '/'.\n> > It works, so far.  \n> > I have included a patch.\n> \n> Hi Timothy,\n> \n> Thanks for the bug report and patch, i'll push it out \n> shortly.  I'm curious, do you happen to know which version of \n> Subversion the server was running?  I'm unable to reproduce \n> the problem, but I wouldn't be surprised if it's only a \n> problem with newere versions.  Thanks.\n> \n> --\n> Eric Wong\n> \n\nThe server is running svn 1.4.6.\n"}]}