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

Re: Pin Externals when tagging?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 4 Jul 2008 14:33:12 -0500

On Jul 4, 2008, at 04:21, Roger Lipscombe wrote:

> Thanks for that. Since we're on Windows, I'll probably have to
> convert that to PowerShell to keep the IT bods happy, but it'll help.

Perl is an extremely popular scripting language which of course
exists for Windows as well. Hopefully your IT staff is there to help
you, in which case they should allow perl to be installed.

> On 04.07.2008, at 11:01, Roger Lipscombe wrote:
>
>> No responses?
>>
>> I've done some further research, and found issues #1258 and #1336.
>> #1336 comprises the support for relative externals, but doesn't
>> address pinning them in a copy. #1258 appears to be the origin of
>> svncopy.pl. So, let me simplify my question:
>>
>> Can a *server-side* hook pin or unpin externals as part of a commit?

A server-side hook cannot change the incoming transaction data in any
way. (Well, it can change revision properties, but svn:externals is a
file property, not a revision property, so it cannot change that.)
The best you can do is commit a second revision after the fact to fix
things that were incorrect in the initial revision. But that requires
the server to deal with maintaining a working copy for this task and
it can be complicated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-04 21:33:42 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.