Maximum length for SVN comment

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

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

+6
svn tortoisesvn
source share
2 answers

You must distinguish between the svn ci -m message that you specify as a command line argument and the svn ci -F or svn ci --file version, which allows you to specify a commit message in the file.

The command line option is limited to the shell used; my script test stopped with a comment of just over 131,000 characters. With the version of the file name -F, I could commit tens of megabytes.

+7
source share

With Subversion (unlike CVS), you do not need to include file names in every commit comment, because file names changed by commit are already part of this commit information. It is easy to get a list of files modified by a commit without having to store it in a commit comment.

+5
source share

All Articles