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

How to distinguish between a newly added file and a copied/moved file in the pre-commit hook?

From: Ronny Schuetz <usenet-01_at_groombridge34.de>
Date: 2005-06-01 12:28:26 CEST

Hi,

I wrote a pre-commit hook to validate the properties of newly added
files to make sure the users are using the config file (with enabled
auto-props) I sent out previously. I don't want to validate the
properties if the files was already in the repository.

Unfortunately, I did not found a way to distinguish between new files
added to the repository and files just being renamed or copied in the
repository, where the properties are kept anyway.

Is there any way to get this information from a pre-commit hook?

Thanks in advance,
Best regards,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 1 12:37:01 2005

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