Denver Gingerich wrote: > For example, the following should work: > > $ svn commit test.odt > $ mv test.odt test1.odt > $ svn up > [pulls deleted test.odt from repository] > $ diff test.odt test1.odt && echo match > match > > An SCM user might, for example, keep checksums of all the files they > commit to verify that no one tampered with their files while the files > were hosted on the SCM system. If the checksum doesn't match and the > SCM did not always return an identical binary for a given file and > revision, then the user wouldn't know whether their file had been > tampered with or if the SCM had just decided to modify it but it still > "meant" the same thing.
So perhaps the checksum of the binary files is the wrong tool to detect file identity? Perhaps the checksum should be created from the uncompressed streams inside the file? Such functionality could be implemented as an OOo extension so that users can check file integrity by comparing the CRC with a stored one. Kind of a "poor man's signing". :-) Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
