[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:external and server migration

From: Purple Streak <mrpurplestreak_at_googlemail.com>
Date: Sun, 14 Sep 2008 09:45:48 +0100

2008/9/13 Ryan Schmidt <subversion-2008c_at_ryandesign.com>:
> Sure. I just had to do this on one of my own repositories so I can show you
> what I used. My repository had been created before Subversion 1.5, and my
> externals definitions were absolute, like yours, since that's all one could
> do at the time.

But if I read Lira's mail right she has externals in Repo A pointing
to externals in Repo B where A and B are different servers so a repo
relative external won't help will it (all you could hope to remove is
the https:// so you could switch to svn:// more easily)?

However if I read Ryan's script correctly it's all in the line that
does the url changing.

'^(\S+) http://url/to/old/repo(\S+)' '^\2 \1'

My regexp's are always rusty but if you were dumping server A's repo
the above regexp needs to be changed replace https://Repo B/.... with
https://Repo D/... and keep the rest of the URL the same. Maybe
something like...

'^(\S+) http://Repo B(\S+)' '^\1 http://Repo D\2'

(but I would double check that line first!)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-14 10:46:22 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.