Welcome! Log In Create A New Profile

Advanced

Re: svn.nginx.org repository changes

Sergey Budnevitch
August 24, 2011 11:04AM
On 24.08.2011, at 16:41, Matthias Saou wrote:

> Sergey Budnevitch <sb@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.

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

svn.nginx.org repository changes

Sergey Budnevitch 3922 August 24, 2011 04:22AM

Re: svn.nginx.org repository changes

Matthias Saou 872 August 24, 2011 08:44AM

Re: svn.nginx.org repository changes

Sergey Budnevitch 1020 August 24, 2011 11:04AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready