Re: Limit The size of Commit in SVN
From: Mehboob Ahmed <m.mehboobahmed_at_gmail.com>
Date: Tue, 4 Feb 2014 02:45:46 -0800 (PST)
hey Johan,
all i want is when my developer hit the commit button my script trigger the
@echo off
set REPOS=%1
set TXN=%2
svnlook changed -t %TXN% %REPOS%
svnlook filesize -t %TXN% %REPOS% %changed%
for /D /r %%G IN (%TXN%) DO (
if "%G%" GEQ "%MAX_BYTES%" (goto :err) else exit 0 )
:err
Please Guide will be very great full to you.
-- View this message in context: http://subversion.1072662.n5.nabble.com/Limit-The-size-of-Commit-in-SVN-tp186696p186895.html Sent from the Subversion Users mailing list archive at Nabble.com.Received on 2014-02-04 11:46:23 CET |
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.