[PATCH 1/5] git-svn: fix occasional Failed to strip path error on fetch next commit, try #3

2013-04-30 Thread Ilya Basin
When --stdlayout and --preserve-empty-dirs flags are used and a directory becomes empty, two things happen: Sometimes find_empty_directories() returns empty list and no empty dir placeholder file created. This happens, because find_empty_directories() marks all directories as non-empty, if at

Re: [PATCH 1/5] git-svn: fix occasional Failed to strip path error on fetch next commit, try #3

2013-04-30 Thread Junio C Hamano
Ilya Basin basini...@gmail.com writes: [PATCH 1/5] git-svn: fix occasional Failed to strip path error on fetch next commit, try #3 Please make it like this. [PATCH v3 1/5] git-svn: fix occasional Failed to strip path error on fetch next commit When --stdlayout and --preserve

Re[2]: [PATCH 1/5] git-svn: fix occasional Failed to strip path error on fetch next commit, try #3

2013-04-30 Thread Ilya Basin
} @@ -458,9 +459,12 @@ sub find_empty_directories { my $skip_added = 0; foreach my $t (qw/dir_prop file_prop/) { foreach my $path (keys %{ $self-{$t} }) { - if (exists $self-{$t}-{dirname($path)}) { -