How to get SVN for binary file implementation resized if file size is fixed

I am working with a program that writes data to fixed-size binary files that are stored in a subversion archive.

The problem, however, is that SVN (both the command line client and TortiseSVN) believes that since the file size has not changed, the file itself has not changed and it should not commit it.

Is there a way to change the method used, or do I need to resort to hacks, such as adding a dummy property to files?


EDIT . It turns out the solution is not related to file size. I simply automatically assumed that this would be so, since most unrealistic allorithms do this all the time. [weasel words]

+4
source share
4 answers

Rose by itself.

It turns out that the program that changed the files also tinkered with metadata files in a way that confused SVN.

+2
source

See here for a description of how SVN determines whether a file is modified or not.

+6
source

Are you absolutely sure the files have changed? Subversion can and does handle binary files , and they have a real algorithm for them; it is not just viewing the file size. Subversion detects file changes in binary files, just fine here, although the size hasn't changed.

+3
source

Are you sure the file has changed? those. different bytes. I'm sure subversion uses a binary decomposition algorithm and does not rely on file size.

+2
source

All Articles