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

Re: Change all existing static externals in tags from operative to peg?

From: Lorenz <lorenznl_at_yahoo.com>
Date: Thu, 19 Sep 2013 08:36:19 +0000

Axel S wrote:
>We have some shared libraries, and these are referenced as static
>externals in all tagged versions of our different projects.
>
>After reorganizing the directory structure of our shared libraries, I
>see that all tagged versions now gives an error. I realised that the
>externals should have been referenced by using peg revision (@X) instead
>of operative revision (-r X).
>
>We have hundreds of tagged versions, and inside these there are
>two-three different external references.
>
>How can I recursively change the external definitions from operative to
>peg in my tags directories? I imagine I will need some sort of shell
>script to do the job, preferably without checking out the whole repo...

you can use:

        svn propget svn:externals -R repoURL

to get all external definitions.

From this data you can build a svnmucc control file to apply the
changes in one commit.

-- 
Lorenz
Received on 2013-09-19 10:33:44 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.