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

Re: http-request PUT

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 23 Jul 2014 16:53:35 +0100

merch store <primusmanti_at_gmail.com> writes:

> thanks for this idea, i tried it but the same error occured
> with wireshark i checked what svn roughly does
> and there it said that it transmitted the latest revision via
> X-SVN-Version-Name, the md5 of the latest revision via
> X-SVN-Base-Fulltext-MD5 and the md5 of the altered version via
> X-SVN-Result-Fulltext-MD5
>
> i guess svn needs the md5 of the "old" version to verify that i want to
> overwrite this file, or just to check wether something was altered or not
> because if you want to do a commit while nothing was altered, svn doesn't
> do a anything as far as i could follow

The server uses the base MD5 checksum to verify that the existing file
in the repository has the expected content. The result MD5 checksum is
used to verify that an expanded svndiff has the expected content. The
server does not use the checksums to check whether something was
altered--the server will accept commits that change a file text to the
same content.

If you are getting error 170004 "out of date" then it means the revision
you are sending in X-SVN-Version-Name is older/lower than the most
recent change to the file in the repository.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-07-23 17:54:09 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.