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

Re: Static Revision updates on commit using externals property

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2007-02-07 13:13:50 CET

On Feb 7, 2007, at 09:32, Hans Van Ingelgom wrote:

>
>> No matter what you do, it will always be the person committing the
>> changes responsibility to ensure the correct "-r xxx" or tag URL is
>> used for svn:externals.
>
>
> I also develop with the latest versions of the externals, and when
> I do
> a release, the current revision numbers are fixed.
>
> Maybe there could be a function to commit the working copy with static
> revisions for the externals? Now I just have to look up the revisions
> and copy them in the externals property. That's mindless,
> repetitive and
> error-prone.

I use svncopy.pl to tag my trunk prior to building. That freezes
the free externals to the current HEAD revision of whatever they
are pointing at.

i.e.

trunk/Sources/project contains an eclipse project

trunk/Build/project contains maven build files
                         also "imports" sources from
                        Sources/project via an external
                        which is not pinned.

svncopy.pl --tag trunk tags/foo

Create a copy of trunk at tags/foo/trunk, but freezes
the externals in tags/foo/trunk/Build/project to refer
to a specific revision of trunk/Sources/project before
doing so.

Would that help you?

/ ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Feb 7 13:14:23 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.