Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum length for SVN comment

Is there a limit on maximum length for a comment that we can have for SVN?

I have a script that generates a comment before committing the file at root level, it has all file names in its comment before committing, I am wondering if there is any limit on number of characters on comment for SVN.That is because if I am committing large number of files, then all file names would appear in comment so was wondering how long the comment can be..

like image 443
remo Avatar asked Mar 23 '11 19:03

remo


1 Answers

You have to differentiate between the svn ci -m message you give as a command line argument and the svn ci -F or svn ci --file version that allows you to specify the commit message in a file.

The command line variant is restricted by the shell you use; my test script stopped with a comment of little more than 131.000 chars. With the -F filename version I could commit dozens of megabytes.

like image 152
initall Avatar answered Oct 18 '22 14:10

initall