Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3072

Commit-failed messages with DEFLATE enabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.x
    • Fix Version/s: 1.5.0
    • Component/s: mod_dav_svn
    • Labels:
      None
    • Environment:

      Linux

      Description

      Hi
      
      I have a problem with displaying error messages on TortoiseSVN 1.4.7 and
      Subversion 1.4.6 on Windows which access a repository via http with
      Subversion 1.4.4 on Linux.
      
      If a file is Added with plus on Windows machine ("svn st" displays):
      A  +   file.txt
      The following non-descriptive error message is displayed:
      Adding         file.txt
      svn: Commit failed (details follow):
      svn: MERGE request failed on '/svn/rep/dir/file.txt'
      svn: MERGE of '/svn/rep/dir': 409 Conflict (https://linuxserver)
      
      If I remove DEFLATE filters I get:
      Adding         file.txt
      svn: Commit failed (details follow):
      svn: MERGE request failed on '/svn/rep/dir/file.txt'
      svn: 'pre-commit' hook failed with error output:
      Custom error message!
      
      If files are only added without (+) or deleted or modified, the error message 
      is displayed correctly, even with DEFLATE filter enabled.
      
      My Apache settings for the deflate and svn:
      DeflateCompressionLevel 9
      DeflateBufferSize 1000000
      DeflateMemLevel 9
      DeflateWindowSize 15
      <Location /svn>
        DAV svn
        SVNParentPath /home/svn
        AuthType Basic
        AuthName "Subversion Repository"
        AuthUserFile /usr/local/etc/passwd
        AuthzSVNAccessFile /usr/local/etc/authz
        Require valid-user
        SSLRequireSSL
        #SetInputFilter DEFLATE
        #SetOutputFilter DEFLATE
      </Location>
      
      Installed software on server is:
      Red Hat Enterprise Linux 4
      mod_dav_svn-1.4.4-1
      httpd-2.0.52-22.ent
      subversion-1.4.4-1
      apr-0.9.12-2
      

      Original issue reported by dsmidgy

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: