I am new in creating pre-commit hooks on SVN. Is there anyone who knows how to limit file size that being committed to SVN? I am currently using TortoiseSVN.
svnlook
svnlook changed
you'll get list of all files in transaction svnlook filesize
for every file from the step 1 you'll get size of object in bytes, which you can compare with known limit and reject transaction, if needed
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.