repository changes

Sergey Budnevitch sb at
Wed Aug 24 15:02:07 UTC 2011

On 24.08.2011, at 16:41, Matthias Saou wrote:

> Sergey Budnevitch <sb at> wrote:
>> Those who need to fix old checkout may run this simple script
>> for dir in `find . -name ".svn" -type d`; do 
>>  find $dir -type f -exec perl -pi -e
>> 's|svn://$|svn://|' {} \; done
> There should be a cleaner way. Something like this should work :
> svn switch --relocate

Unfortunately svn switch --relocate do not work in this case, i
have tried already with slightly different repo.
--relocate actually replace old repo path with new one in s/oldpath/newpath/
manner, but there are actually two paths in each
.svn/entries: "repo path" and "current path", for example
svn:// and svn:// So
--relocated will transform "repo path" correctly, but /nginx in
"current path" will be doubled.

More information about the nginx-devel mailing list