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

Re: svn does not detect file recodings as changes

From: Lukas Reck <dasluq_at_gmail.com>
Date: 2007-02-19 06:28:21 CET

2007/2/19, Vincent Lefevre <vincent+svn@vinc17.org>:
> On 2007-02-18 17:22:46 +0100, Lukas Reck wrote:
> > Seeing how svn's diff algorithm tries to be smarter than I am is
> > annoying. If this is a feature, the documentation should mention it,
> > and provide a workaround.
>
> This is due to the fact that by default, recode doesn't modify the
> mtime (this is a feature). I reported the problem last year, in the
> dev mailing-list:
>
> http://subversion.tigris.org/servlets/ReadMsg?listName=dev&msgNo=117800
>
> It is annoying that Subversion developers don't regard it as a bug,
> even though there would be a simple fix: look at ctime too (under
> Unix).

So as I understand it, it is not exactly svn's fault, but recode
messing with mtime. Still I think that the documentation should state
explicitly that subversion looks at file mtimes before actually
examining file contents, and warn about tools like recode (and mv, but
I think you're supposed to svn mv anyway) that do not handle mtime
according to svn's expectations.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 19 06:28:43 2007

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

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