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

Re: What file system structure a SVN transaction follow ?

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Fri, 30 Apr 2010 05:08:52 -0500

On Apr 30, 2010, at 04:52, Ravi Roy wrote:

> I am writing a custom hook (pre-commit) to find out the size of the transaction for certain size and then allow / disallow commit. But I am not sure what is the structure under /db/transactions which should be checked for size ?

You don't need to know. :) Instead, use the "svnlook" program to inspect the transaction for the information you need. For example, "svnlook changed" to see what changed in the transaction, and "svnlook cat" to get the contents of individual files from the transaction, whose bytes you can then sum up.
Received on 2010-04-30 12:09:31 CEST

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