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

RE: Re: RE: RE: RE: Static Revision updates on commit using externals property

From: Scott Nicolson <Scott.Nicolson_at_oscmar.co.nz>
Date: 2007-01-31 04:02:19 CET

> This still would not solve your problem as the hook script would have
> no knowledge if the correct "-r xxx" parameter was used, only that a
> "-r xxx" parameter existed.

I would not expect the hook script to fill in the -r for me, but instead
just prevent any user creating a tag that used the external definition
without the -r switch. This then just prevents the tag from referencing
a moving target. Is it possible to create such a hook script and does
one already exist?

> Rather than using the -r xxx we use a URL that is a "tag" and have
> hook scripts that prevent changes to tags. This does not completely
> solve the problem, but prevents a developer from committing changes to
> the external working copy from within a different working copy.

I looked at this solution also but as most changes occur to shared code
from within another project, there is a laborious task of checking out
the shared code, and creating a new tag for it.
I would be interested in having a look at the hook script you created to
prevent changes to tag directories as I was going to create a hook that
does the same thing; if you don't mind.


To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jan 31 04:02:31 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.