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

Re: Modifying file properties in pre-commit

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Sat, 13 Sep 2008 16:19:11 -0500

On Sep 13, 2008, at 3:44 PM, Purple Streak wrote:

> 2008/9/13 Lira Olavo <Olavo.LIRA_at_gemalto.com>:
>> Yes but isn't it the same as working within a team? It is like you
>> commit something and then someone after you commit a new version, so
>> your version now is not up-to-date. Why would you call it "break the
>> checkout"?
> The difference is probably when you do an update the client doesn't
> know something has changed in the revision it committed and so doesn't
> download that change? I'm guessing here as I'm new to subversion and
> trying to learn it all fast :)

That's exactly correct. What's in the repository and what the working
copy things is in the repository will differ. This will probably blow
up in your face badly at some time in the future. Don't do it.

> In my case one of the reasons I may want to do this is to pin an
> svn:externals property on making a Tag.

The client-side svncopy.pl script can do that for you.


> I figure in this case that
> it's ok as the client isn't going to switch to that tag, it just wants
> to create it, so we pin the externals to the current latest revision
> and then the Tag is truly fixed (esp. as the pre-commit hook won't
> allow further changes to it - or at least it won't when I write it
> hopefully!)

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-13 23:19:41 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.