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

RE: Re: Tracking svn:externals?

From: Rony Shapiro <RonyS_at_discretix.com>
Date: 2006-02-20 13:39:25 CET

 Hi Ian,

svncopy.pl fits the bill quite nicely - thanks!

        Rony

> -----Original Message-----
> From: Ian Brockbank [mailto:Ian.Brockbank@wolfsonmicro.com]
> Sent: Monday, February 20, 2006 1:11 PM
> To: Kalin KOZHUHAROV; Rony Shapiro
> Cc: users@subversion.tigris.org
> Subject: RE: Re: Tracking svn:externals?
>
> Hi Kalin,
>
> > > Currently, when I make a tag off the trunk, the externals
> > property of
> > > the tag still points to the same place as the trunk copy,
> > as would be
> > > expected.
> > >
> > > What I would like is a way to automatically change the externals
> > > property to track the branch/tag.
> > >...
> > > Has anyone written a script or hook that does something
> > like this? Any
> > > suggestions?
>
> svncopy.pl addresses exactly this problem. svncopy --tag fixes the
> version number when tagging. svncopy --branch updates the destination
> of the external to be within the branch. The script is in
> http://svn.collab.net.repos/svn/trunk/contrib/client-side/svnc
> opy.pl.in
> - rename this to svncopy.pl and replace @SVN_BINDIR@ with the path to
> your svn executable.
>
> Answering Rony's responses:
>
> > > Currently, when I make a tag off the trunk, the externals property
> of
> > > the tag still points to the same place as the trunk copy, as would
> be
> > > expected.
> > >
> > > What I would like is a way to automatically change the externals
> > > property to track the branch/tag.
> > As subversion does not distingusih between trunk and branch etc (and
> having
> > a "classic trunk/branches/tags structure" does not have any meaning
> for
> > subversion) automation at subversion level is not possible, IMHO.
> >
> > > For example, if proj1/trunk has an
> > > svn:externals property with "lib1 svn://.../lib1/trunk", when I
> create a
> > > tag proj1/tags/T1, I would like the svn:externals
> property of T1 to
> be
> > > set to "lib1 svn://.../lib1/tags/T1".
> >
> > Why whould you want that?
>
> That is not necessarily desired, but you do at least want the version
> tagging to happen automatically. svncopy.pl gives the option
> of either.
>
> Cheers,
>
> Ian Brockbank
> Applications Software Team Leader
> e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
> scd: ian@scottishdance.net
> t: +44 131 272 7145
> f: +44 131 272 7001
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 20 13:40:42 2006

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.