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

Re: modifying property during a commit?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 6 Feb 2008 18:40:51 -0500

On Feb 6, 2008 3:54 PM, darren <nycdarren_at_gmail.com> wrote:
>
> Is it possible to add or modify a custom property of a file as it is being
> committed?

Technically yes, but the net result is that the committer's working
copy is immediately out of date once the commit completes, so it's
strongly discouraged.

> I am trying to set a property based on the file being committed. Would this
> be possible using a client side hook? I would like to scan the file for a
> value and set the property to the value found before sending the transaction off
> to the server to be committed.

Client-side hooks do not exist in any officially-released version of
Subversion or TSVN, and are strictly a client-side setting (so all
users would need to have it set up on their desktop). I don't know if
client-side hooks are included in the "official" SVN 1.5 at all, or
whether they're strictly a TSVN thing. See
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-07 00:40:57 CET

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