Re: Commit size
From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Wed, 13 Jun 2012 15:32:56 +0200
On Wed, Jun 13, 2012 at 3:16 PM, Vladimir Shun'kov <shunya.v_at_gmail.com> wrote:
In 1.7, there's a new svnlook subcommand: 'svnlook filesize'. This can
Maybe you can use that directly, or use it to calculate the difference?
Like, in the pre-commit hook:
1) 'svnlook changed -t $TXN $REPOS' to get the list of changes in this
2) For every changed (or added) file, do 'svnlook filesize -t $TXN $REPOS'
3) For changed files, compare them to 'svnlook filesize -r $YOUNGEST
4) Do some arithmetic on the result
-- JohanReceived on 2012-06-13 15:33:53 CEST
This is an archived mail posted to the Subversion Users mailing list.