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

Re: NEED: dynamic svn:external property

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Thu, 12 Feb 2009 19:25:31 -0600

On Feb 12, 2009, at 04:40, Grégory Romé wrote:

> I have a specific need concerning the property svn:external. I don't
> know if there is a real interest (excepted for me) and if it is
> judicious.
>
> I use a continuous integration tool which automatically tags my
> project
> on successful build. The problem is that the tag does not reflect the
> complete state of the project due to the fact that the project
> includes
> several not fixed external references.
>
> I would like that the svn:external property has the capability to be
> automatically modified on copy by adding the current revision of the
> external reference to the property. I think that a simple keyword
> added
> instead of a revision should be sufficient.
>
> Example: let the project 'concept' which needs two external modules.
> I would like to use the last stable version of those modules:
> svn propget svn:externals concept
> module1 http://svn/module1/branches/stable/2.x@KEYWORD
> module2 http://svn/module2/branches/stable/1.3.x@KEYWORD
>
> After a copy the result has the following properties:
> svn propget svn:externals concept
> module1 http://svn/module1/branches/stable/2.x@revX
> module2 http://svn/module2/branches/stable/1.3.x@revY

I think that's pretty much what the svncopy.pl script does.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1148296

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-13 03:53:47 CET

This is an archived mail posted to the Subversion Users mailing list.