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

pre-commit: How can I do some checks on a file befor finishing the transaction?

From: Volker Füßler <vf_at_web.de>
Date: 2005-01-10 16:24:49 CET

Hi,

how can I do some checks on a file before it is stored or updated in a
new revision?

Actually, I have a script which checks if a file contains tabs. If this
is the case, then it should not be possible finish the transaction.
I know that I have to do this with an hook (pre-commit) but there I have
only the transaction ID and repository name and I don't know how to
access the content of the file to commit...

Can anybody explain the best way to do this?

thx & regards,

Volker

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 10 16:27:34 2005

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.