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

Re: svn cp (tag) should make an svn:external nail down to a revision

From: Lorenz <lorenznl_at_yahoo.com>
Date: Tue, 05 Jun 2012 05:58:57 +0000

rupert.thurner wrote:
>what is the best possibility to create a tag of a folder containing
>svn:externals? the goal is that the external references do not point
>any more to the head, butto the fixed revision when the copy / tag was
>created?

needs some typing / scripting but:

svnmucc -U <repo-url>
        cp <rev> p1/trunc p1/tags/p1t1 \
        cp <rev> p2/trunc p2/tags/p2t1 \
        propset svn:externals "^/p2/tags/p2t1 p2" p3/tags/p3t3
        -m "tagging p1 & p2 and adapting svn:external used by p1"

does the job too (does only work if everything is in one repo).

-- 
Lorenz
Received on 2012-06-05 07:57:51 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.