[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: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2007-02-19 13:55:46 CET

On 2007-02-19 06:28:21 +0100, Lukas Reck wrote:
> So as I understand it, it is not exactly svn's fault, but recode
> messing with mtime.

It's both. But I'd say that it's more svn's fault since changing the
mtime is not forbidden and there may be good reasons to change it.
Only the ctime can't be changed by the user and can be regarded as
reliable.

> 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.

There are cases where one may prefer mv (and when one must use mv).
There's also the "patch" command (with -T or -Z) for instance.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 19 13:56:12 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.