svn.nginx.org repository changes

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


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

> Sergey Budnevitch <sb at waeme.net> 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.nginx.org$|svn://svn.nginx.org/nginx|' {} \; done
> 
> There should be a cleaner way. Something like this should work :
> svn switch --relocate svn.nginx.org svn.nginx.org/nginx

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://svn.nginx.org and svn://svn.nginx.org/nginx/trunk. So
--relocated will transform "repo path" correctly, but /nginx in
"current path" will be doubled.



More information about the nginx-devel mailing list