Re: [PATCH] git-svn: avoid crashing svnserve when creating new directories
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- May 19, 2007, 10:19 UTC
- Message-ID
- <vpqtzu9m7za.fsf@bauges.imag.fr>
- In-Reply-To
- <20070519095837.GA387@muzzle>
Eric Wong <normalperson@yhbt.net> writes:
Show 5 quoted lines
> 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