README and readme are the same file in windows,but the different in Linux

2011-07-07 Thread zhiwei chen
I create two files, README and readme in Linux,then commit to svn server.
But when I checkout in windows from svn server,you can imagine what will
happened.

PS: Where can I download the newest mod_dav_svn.so ?(and mod_auth_mysql.so)
I use centos x86_64, I need both i386 and x86_64 arch of mod_dav_svn.so.
This official site has not the newest mod_dav_svn.
http://www.webdav.org/mod_dav/


README and readme are the same file in windows,but the different in Linux

2011-07-07 Thread zhiwei chen
I create two files, README and readme in Linux,then commit to svn server.
But when I checkout in windows from svn server,you can imagine what will
happened.

PS: Where can I download the newest mod_dav_svn.so ?(and mod_auth_mysql.so)
I use centos x86_64, I need both i386 and x86_64 arch of mod_dav_svn.so.
This official site has not the newest mod_dav_svn.
http://www.webdav.org/mod_dav/


Server sent unexpected return value (504 ) in response to MERGE request for '/xxx'

2011-07-21 Thread zhiwei chen
Hi,all!

When I commit some file(263 directories, 3016 files, and 30M), I encountered
with this error:
svn: Commit failed (details follow):
svn: Server sent unexpected return value (504 ) in response to MERGE request
for '/xxx'

message bellow are apache error logs:
[Thu Jul 20 16:45:20 2011] [error] [client 10.3.2.1] Could not MERGE
resource "*/xxx/*!svn/act/8a08e062-8a1a-455e-b839-467adb4ae971" into
"/xxx".  [409, #0]
[Thu Jul 20 16:45:20 2011] [error] [client 10.3.2.1] An error occurred while
committing the transaction.  [409, #2]
[Thu Jul 20 16:45:20 2011] [error] [client 10.3.2.1] Can't open file
'/data0/repository/xxx/db/transactions/0-1.txn/props': No such file or
directory  [409, #2]

My environmen is:

CentOS5.6 x86_64

stunnel handle https request

stunnel send request(http) to haproxy

haproxy send requests to apache
(haproxy's contime=4000,srvtime=50,clitime=50)

apache use mod_dav_svn.so to operate svn repository

I want to know, if MERGE really waste time? How to resolve this error?

thank you!


how to back svn repositories

2011-08-01 Thread zhiwei chen
hi,everyone.

We have many svn repositories,more than 100,000 , but every repository has
less than 1024M.

So,which svn backup strategies should I use ?


Problem with large() file commit

2011-08-14 Thread zhiwei chen
hello,everyone.

I am having a problem when trying to commit a large number of changes in one
go.

It gets so far and then comes back with a message of the form:

Commit failed (details follow):
PUT of 'xxx': could not connect to server (https://www.xx.com)

I am using TortoiseSVN to commit the changes but I think this is more of a
problem with Apache timing out before the commit is completed. I can
successfully check the code in if I do it in smaller chunks.

I am running subversion 1.6.11 and mod_dav_svn.so 1.4.x on linux. Is this a
known problem? If so, what should I do to fix this problem?

Thanks


how to disable svn's copy and move command?

2011-12-01 Thread zhiwei chen
hi,all.

I use webdav to host a svn repository, for some reason I want to
disable copy and move command, ie. uses can't use 'svn copy' and 'svn
move' to commit.

I know I can use pre-commit to disable copy and move, and is there
another way to do this?

thank you!