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

Re: Change externals after changin server

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Wed, 5 Aug 2015 10:43:07 -0500

On Wed, Aug 5, 2015 at 9:17 AM, Ofer Ebert <ofer.ebert_at_bioness.co.il> wrote:
>
> I changed SVN server and in my repository I have a lot of external that
have full path link to the prev server that does not exists any more trying
to browse this folder hangs the repo browser also "Show Properties" hangs
the browser so I can not change the external using the repo browser I also
do not know all the places where we use externals (Database is big with
mmaany projects) is there a way to do this.
>

In the settings dialog (under General->"Dialogs 3" for me) there is an
option to show (or not show) externals in the repo browser. That may help
your repo browser problem.

For finding all the places you need to make a change, I'd probably write a
short script using the command-line tools that uses "svn proplist" on each
directory in the repository, then uses "svn propget" on each one that has
externals defined and checks for your old repo path.

In the future...you should avoid specifying the full server path if
possible, using the special "^/", "/", or "^/../" paths documented here:
http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3130407

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-08-05 17:43:37 CEST

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

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