merch store <primusma...@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*

Reply via email to