{"thread":{"id":"2324","subject":"[PATCH 3/7] Don't output error when there are changes in the nodes /, /tags or /branches","startedAt":"2005-11-02T21:51:57Z","lastAt":"2005-11-02T21:51:57Z","messageCount":1,"participants":["Yaacov Akiba Slama"],"isPatch":true,"patchVersion":1,"patchTotal":7},"messages":[{"id":"11039","messageId":"E1EXQWT-00050C-Td@localhost.localdomain","threadId":"2324","inReplyTo":null,"subject":"[PATCH 3/7] Don't output error when there are changes in the nodes /, /tags or /branches","fromName":"Yaacov Akiba Slama","fromEmail":"ya@slamail.org","sentAt":"2005-11-02T21:51:57Z","receivedAt":"2005-11-02T21:51:57Z","isPatch":true,"sender":{"key":"ya@slamail.org","avatar":null},"body":"---\n\n git-svnimport.perl |    7 ++++++-\n 1 files changed, 6 insertions(+), 1 deletions(-)\n\napplies-to: d711bb120e7c95914069cff4996ddbcfc29c20f6\ne5d8e159e80ead8eef0867a3662a83b3948aaa18\ndiff --git a/git-svnimport.perl b/git-svnimport.perl\nindex 83b70f9..ea5bbdb 100755\n--- a/git-svnimport.perl\n+++ b/git-svnimport.perl\n@@ -336,7 +336,12 @@ sub split_path($$) {\n \t} elsif($path =~ s#^/\\Q$branch_name\\E/([^/]+)/?##) {\n \t\t$branch = $1;\n \t} else {\n-\t\tprint STDERR \"$rev: Unrecognized path: $path\\n\";\n+\t\tmy %no_error = (\n+\t\t\t\"/\" => 1,\n+\t\t\t\"/$tag_name\" => 1,\n+\t\t\t\"/$branch_name\" => 1\n+\t\t);\n+\t\tprint STDERR \"$rev: Unrecognized path: $path\\n\" unless (defined $no_error{$path});\n \t\treturn ()\n \t}\n \t$path = \"/\" if $path eq \"\";\n---\n0.99.9.GIT\n"}]}