You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthias Fechner <id...@fechner.net> on 2008/04/14 22:16:44 UTC

Problems with http commit and co

Hi,

I use for all my project the svn+ssh transport and have never a problem 
before.

But now I must use http:// for data transport.
I'm working on freebsd 7 with subversion 1.4.6.

I created a repository with svnadmin and configured my apache and dns 
for a virtual host.
I added group write access to the repository directory and set the group 
to my apache user so that apache can write to my repository.

The apache config looks like:
<VirtualHost *:80>    # overlay.idefix.lan
ServerName overlay.idefix.lan
DocumentRoot /home/http/overlay/htdocs
...
CustomLog /home/http/overlay/logs/custom.log combined
CustomLog /home/http/overlay/logs/svn_logfile "%t %u %{SVN-ACTION}e" 
env=SVN-ACTION
...
  <Directory /home/http/overlay/htdocs>
   order allow,deny
   AllowOverride AuthConfig
   allow from all
   Options Indexes Includes FollowSymLinks
  </Directory>
<Location /svn>
   DAV svn
   SVNPath /usr/local/svn/overlay
</Location>

</VirtualHost>

I checked out now the repository with
svn co http://overlay.idefix.lan/svn/

Added my folder structure (trunk, branches and tags) and committed that.

Now I added my files under trunk and commited it but that failed, I only 
see:

I see:
A	path
A	path/file
and a lot of more lines
Transmitting file data ..................

and that was it. Now apache eats my complete cpu on my server and 
nothing happens until I restart my apache which will interrupt the 
commit. (Commit failed (details follow):
svn: MERGE request failed on '/svn/trunk'
svn: MERGE of '/svn/trunk': Could not read chunk size: connection was 
closed by server. (http://overlay.idefix.lan)
svn: Your commit message was left in a temporary file:
)

If I now delete the folder and do a co with svn+ssh transport, I can see 
that at the commit before committed the data successfully (svn log says 
that too).
A svn co http://.... fails with now errormessage only wait after:
A	path
A	path/file
....
(stops here)

What can here be the problem? Is that a bug in subversion in combination 
with mod_dav_svn?

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org