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

Re: Subversion, binary files, hex editors and file modification time

From: Talden <talden_at_gmail.com>
Date: 2007-07-03 05:34:07 CEST

Rather than impose such a feature on every check and rather than expect that
the user must remember to use a particular commandline switch perhaps we
could introduce an "svn:needs-scan" property that instructs the client that
certain files are likely to have content changes not reflected by a
timestamp modification.

The client already gets hints in the form of properties for executables and
locking - surely this content verification check could be achieved in a
similar manner - maybe without any working copy changes or changes to client
usage.

--
Talden
On 6/11/07, Oliver Paulus <oliver@code-project.org> wrote:
>
> Hello,
>
> I have the following problem: If a program like a hex editor does not
> change the
> file modification time SVN does not detect changes made to the file.
>
> I have made some tests with the svn:needs-lock for these binaries - but
> the
> problem remains.
>
> Is there already a solution available?
>
> Why does SVN check the file modification time and does not use a Hash
> (md5,
> sha1, ...) to check if a file was changed? I know that the hash
> calculation can
> be more time expansive.
>
> What do you think about a global or per-file property to say SVN to check
> these
> files with a hash calculation?
>
> I have found some similar topics in some mailing list archives:
> 1. http://svn.haxx.se/users/archive-2006-05/1489.shtml
> 2.
>
> http://thread.gmane.org/gmane.comp.version-control.subversion.devel/48427/focus=48470
> 3.
>
> http://thread.gmane.org/gmane.comp.version-control.subversion.devel/63243/focus=63251
> 4. http://svn.haxx.se/users/archive-2006-07/0413.shtml
>
> --
> Oliver Paulus
>
> OpenPGP
> Key id: 28D9C44F
> Fingerprint: EADA 62FC 07DC 3361 A3D6  4174 2DE3 C027 28D9 C44F
> Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x28D9C44F
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
Received on Tue Jul 3 05:34:11 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.