{"thread":{"id":"14362","subject":"Breakage caused by 2fe403e7 git-svn.perl: workaround assertions in svn library 1.5.0","startedAt":"2008-07-09T00:41:48Z","lastAt":"2008-07-16T13:45:10Z","messageCount":2,"participants":["Kevin Ballard","SZEDER Gábor"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"82660","messageId":"6583867F-ED86-4E3D-AE8B-39FB974C43D7@sb.org","threadId":"14362","inReplyTo":null,"subject":"Breakage caused by 2fe403e7 git-svn.perl: workaround assertions in svn library 1.5.0","fromName":"Kevin Ballard","fromEmail":"kevin@sb.org","sentAt":"2008-07-09T00:41:48Z","receivedAt":"2008-07-09T00:41:48Z","isPatch":false,"sender":{"key":"kevin@sb.org","avatar":"https://avatars.githubusercontent.com/u/714?v=4"},"body":"Commit 2fe403e7 causes `git svn info` and `git svn info .` to break.\n\n   Use of uninitialized value in localtime at /usr/local/libexec/git- \ncore/git-svn line 4277.\n   No such file or directory at /usr/local/libexec/git-core/git-svn  \nline 897.\n\nIf it makes a difference, I have svn 1.4.4 installed, not svn 1.5.\n\n-Kevin Ballard\n\n-- \nKevin Ballard\nhttp://kevin.sb.org\nkevin@sb.org\nhttp://www.tildesoft.com\n"},{"id":"83515","messageId":"20080716134510.GA6831@neumann","threadId":"14362","inReplyTo":"6583867F-ED86-4E3D-AE8B-39FB974C43D7@sb.org","subject":"Re: Breakage caused by 2fe403e7 git-svn.perl: workaround assertions in svn library 1.5.0","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2008-07-16T13:45:10Z","receivedAt":"2008-07-16T13:45:10Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"Hi,\n\nOn Tue, Jul 08, 2008 at 05:41:48PM -0700, Kevin Ballard wrote:\n> Commit 2fe403e7 causes `git svn info` and `git svn info .` to break.\n>\n>   Use of uninitialized value in localtime at /usr/local/libexec/git- \n> core/git-svn line 4277.\n>   No such file or directory at /usr/local/libexec/git-core/git-svn line \n> 897.\n>\n> If it makes a difference, I have svn 1.4.4 installed, not svn 1.5.\nthe same problem here, except that I have svn v1.4.6.\n\nThe patch in question adds the following line to git-svn.perl's\ncanonicalize_path():\n\n+       $path =~ s#^\\.$##;\n\nwhich makes an empty string from the path \".\".  This is especially\nunfortunate for 'git svn info', cmd_info() begins with\n\n        my $path = canonicalize_path(shift or \".\");\n\nand from that point everything is ruined, but it boils out only when\nit tries to actually open() the empty path.\n\nRemoving the mentioned line from canonicalize_path() does resolve this\nissue on svn v1.4.6, but I'm afraid it will brake again on svn v1.5.\n\nGábor\n"}]}