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

Re: pos-modify hook script

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-10-18 15:14:19 CEST

On 10/18/07, braulio.horta@embraer.com.br <braulio.horta@embraer.com.br> wrote:
>
>
> Is it possible to add a kind of "pos-modify" client side hook script.
> It would be run just after one modifies a file for the first time in the
> working copy (when the green icon changes to red).
> Hook input parameters should be modified files or modified worrking copy.

Wouldn't that require that TSVN (or maybe SVN/the working copy data
itself) keep track of *how many* times the file's been updated, not
just *that* it has been changed as compared to the pristine copy
(which is how the overlays & svn st work presently)?

Sounds like it might be better implemented externally, perhaps using
the .NET FileSystemWatcher component & some sort of datastore (because
it would have to remember state across reboots, etc.).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Oct 18 15:14:30 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.