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

Scripting an svn:externals change

From: BRM <bm_witness_at_yahoo.com>
Date: Thu, 2 Sep 2010 09:27:58 -0700 (PDT)

I recently had my subversion server die - the box, not subversion itself - and
have been working through the recovery process.
Part of that is going through and modifying a number of projects for the change
in the URL - namely changing from a non-standard port for apache to a standard
port.
We have started using svn:externals in some projects, but did not use the
relative path values - instead, specifying the whole URL; so I need to update
the URLs in the svn:externals.

I know I can get the values using 'svn pget svn:externals'; but the SVN redbook
recommends against using pset/propset to set the values.
So, how do I set the values from a script? "svn help pset" seems to show a "-F"
parameter for reading the values from a file. This seems like it would take care
of the concern mentioned issue - that the externals are multi-line.
If that is the case, then shouldn't the note say to use that parameter with pset
or use pedit instead of flatly saying use pedit?
Or is there another reason why I shouldn't use pset?

TIA,

Ben

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html
Received on 2010-09-02 18:28:52 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.