Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2009 10:20:25 -0500
From:      FreeBSD <freebsd@optiksecurite.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   OT: SVN checkout checksumming
Message-ID:  <4989B239.9090504@optiksecurite.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I have asked this question on the svnforum.org and didn't got a good 
answer, so I try it here.

I want to use SVN to automate the update process of a custom 
application. So, I'm planning to indicate to every PC to update 
periodically to a specific branch of the repository. The problem is that 
I need to be sure the files where not corrupted during the transfer. So, 
I'm planning to generate the hash (SHA or MD5, doesn't really matters) 
of every file downloaded by SVN on the client. For this to work, I need 
to compare the hashes with their server-side equivalent. I looked at the 
post-commit hooks and it looks pretty interesting but is anyone doing 
something similar? How are you creating the file containing the hash of 
the committed file?

I got 2 answers on the forum from people thinking that SVN takes care of 
the checksumming by itself, but I would like a little more information 
than that. What is the algorithm used would be a nice start.

Thank you for sharing your OT knowledge!

Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4989B239.9090504>