[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Maxsize of Properties

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Fri, 21 May 2010 09:36:05 -0500

On May 21, 2010, at 06:39, Bettual Richter wrote:

> Ryan Schmidt wrote:
>
>> On May 20, 2010, at 05:40, Bettual Richter wrote:
>>
>>> does anyone know if there is some kind of maxsize for revision properties ?
>>
>> I'm not sure.
>>
>>> I'd like to set long revision properties on a repository.
>>
>> How large?
>
> I'm not really sure how large the properties are finally going to be
> but lets say like 10 000 000 charaters would be quite desirable.

Based on the error message "413 Request Entity Too Large", I'm guessing that's too large.

When you're serving your repository via Apache, Subversion properties are implemented as WebDAV properties, I think. I found a reference [1] that says the WebDAV spec doesn't limit the size of properties, but that some implementations might. I guess maybe Apache and/or Subversion do impose a limit of some kind.

Properties are designed for short strings, like the name of the author, the date and time, the log message. It therefore wouldn't surprise me to find out that this infrastructure is not prepared to accept a property with 10MB of data.

If I'm right about Subversion properties being implemented as WebDAV properties, then you might have success bypassing WebDAV, i.e. using svnserve. Or that might fail too. I haven't tried.

[1] http://books.google.com/books?id=LN6PRtgiwNgC&pg=PA164&lpg=PA164&dq=maximum+size+of+webdav+property&source=bl&ots=RzC0RsrP0A&sig=FeEp0d-X62pSLfvpfQf3He2yX3k&hl=en&ei=9nL2S6KFBIOUMdCPkIQI&sa=X&oi=book_result&ct=result&resnum=10&ved=0CDkQ6AEwCQ
Received on 2010-05-21 16:36:44 CEST

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.