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

Re: Getting File sizes in Commit Hook

From: Simon Comeau Martel <martelsc_at_videotron.ca>
Date: 2005-01-20 16:41:36 CET

David Simpson wrote:
> Can I get the size of the files from within the Commit hook? I want
> to stop large files from being accidentally committed to the
> repository.

I hope the attached script can help you.
My way of calculating files size is not really efficient, but I guess
it's better than noting...

-- 
Simon Comeau Martel
martelsc@videotron.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Thu Jan 20 16:45: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.