From: Matthieu Moy Date: Sat, 19 May 2007 10:19:05 GMT Subject: Re: [PATCH] git-svn: avoid crashing svnserve when creating new directories Message-ID: In-Reply-To: <20070519095837.GA387@muzzle> Eric Wong writes: > foreach (sort { $b =~ tr#/#/# <=> $a =~ tr#/#/# } keys %$bat) { > + next if $_ eq ''; > $self->close_directory($bat->{$_}, $p); > } > + $self->close_directory($bat->{''}, $p); Works for me. Thanks a lot! BTW, I didn't have time to write my script as a real testcase for git-svn, but it should probably be added to the testsuite. Thanks again, -- Matthieu