Skip to content

Commit

Permalink
Don't output error on changes in the nodes /, /tags or /branches
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
yaslama authored and Junio C Hamano committed Nov 8, 2005
1 parent cbce5d8 commit c2c07a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion git-svnimport.perl
Expand Up @@ -336,7 +336,12 @@ ($$)
} elsif($path =~ s#^/\Q$branch_name\E/([^/]+)/?##) {
$branch = $1;
} else {
print STDERR "$rev: Unrecognized path: $path\n";
my %no_error = (
"/" => 1,
"/$tag_name" => 1,
"/$branch_name" => 1
);
print STDERR "$rev: Unrecognized path: $path\n" unless (defined $no_error{$path});
return ()
}
$path = "/" if $path eq "";
Expand Down

0 comments on commit c2c07a5

Please sign in to comment.