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

Re: How to find all of the svn:externals that reference a repository that is getting rehosted?

From: Rene Medellin <medellre_at_yahoo.com>
Date: 2007-07-30 22:33:46 CEST

Write a script that takes a URL as an argument. It
will use that URL to do a checkout locally and use the
URL as the root of the checkout. Then using a
FIND-type subroutine find every DIRECTORY node in your
local checkout directory. Query every folder for
externals using 'svn propget', do the transformation
and write the updated property back in with 'svn
propset'. I found this to be a lot faster than to do a
recursive 'svn propget' from the root of the
repository. Plus, you'll need the checkedout directory
to set the property since, for some reason, 'svn
propset' doesn't work on URL references, only on local
checkedout directories.

- Rene

--- "Zingler, William J.*(WZINGLER)"
<WZINGLER@arinc.com> wrote:

> What is the best way to find all of the
> svn:externals in a repository
> that reference another repository? The referenced
> repository is moving
> and as a result the URL is changing. Therefore, all
> of the
> svn:externals that reference it need to be found and
> updated.
>
>
>
> Thanks in advance for any help.
>
>
>
> Thanks,
>
> Bill Zingler
>
> ________________________________
>
> ARINC eFlightDeckSM-Electronic Flight Bag
> Phone: 410-573-3008
> Fax: 410-266-2020
> Cell: 443-822-4857
> Email: wzingler@arinc.com
>
>
>
>
>
>

       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 30 22:32:28 2007

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.