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

Re: Editing properties (externals) in an automated manner

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Fri, 12 Sep 2014 20:19:42 -0500

On Fri, Sep 12, 2014 at 6:33 AM, Dane Morris <vindil778_at_gmail.com> wrote:
>
> I have a very large svn project that i have moved from one server to
another. The problem is that the externals point to the old server name. I
was wondering if there was a way i could automatically change all the old
server names to the new server names; or at least manage to get at the
database that stores all of these names in order to change them myself.
>

I think you're out of luck, but you should be able to script it if you have
a very large number of them, using "svn proplist" and "svn propget" and
"svn propset".

This is the sort of reason SVN introduced relative paths and special syntax
like ^/ for the repository root, that will remain valid across server
moves. See http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html
about halfway down the page.

When you go through correcting your externals, I'd recommend using those
special relative syntaxes to prevent it happening again.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-09-13 03:20:13 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.