Re: [PATCH 1/2] git-svn: fix occasional "Failed to strip path" error on fetch next commit

2013-04-28 Thread Thomas Rast
Ilya Basin writes: > You should Cc Eric on git-svn related patches. > Test script: > > rm -rf testrepo.svn testrepo.gitsvn > svnadmin create testrepo.svn > url=file://`pwd`/testrepo.svn > > svn mkdir -m "" "$url/trunk" "$url/branches" "$url/tags" > rm -rf testrepo > svn c

[PATCH 1/2] git-svn: fix occasional "Failed to strip path" error on fetch next commit

2013-04-28 Thread Ilya Basin
When --stdlayout and --preserve-empty-dirs flags are used and a directory becomes empty, sometimes no empty dir placeholder file created. Then on fetch next commit git-svn dies with "Failed to strip path" error. Test script: rm -rf testrepo.svn testrepo.gitsvn svnadmin create testrepo.svn