Re: [PATCH 1/2] git-svn: fix occasional "Failed to strip path" error on fetch next commit
Ilya Basin <basinilya@gmail.com> writes:
>
You should Cc Eric on git-svn related patches.
Show 30 quoted lines
> 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 co "$url" testrepo
> cd testrepo/trunk
>
> mkdir -p foo/bar/
> svn add foo/
> svn commit -mx
>
> svn rm foo/bar/
> svn commit -mx
>
> svn up
> mkdir -p baz/
> svn add baz/
> svn commit -mx
>
> echo x > fil.txt
> svn add fil.txt
> svn commit -mx
>
> cd ../..
>
> git svn clone --stdlayout --preserve-empty-dirs "$url" testrepo.gitsvn
Please add an actual regression test, probably to t9160.
--
Thomas Rast
trast@{inf,student}.ethz.ch