[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: Jan Hendrik <jan.hendrik_at_myrealbox.com>
Date: 2007-02-20 15:13:12 CET

Concerning Re: svn does not detect file recodi
Les Mikesell wrote on 20 Feb 2007, 7:54, at least in part:

> I think what people are requesting is a _option_ to force a correct
> determination of 'changedness' to cover the situations where the
> timestamp can't be trusted. As a historical precedent, you might
> consider the 'rsync' program which needs to make approximately the
> same determination and thus the same need for an option to do it the
> fast or
> the correct way - and note that it does have exactly such an option.

To me it looks this time issue can have much more practical and
frequent reasons than the occasional deliberate resetting of mtime
for special cases during FTP synching I have happening here.

Anyway, the current SVN behaviour is in so far even worse as in a
svn update any modification in such files is not merged, but
overwritten - read: lost - as I just confirmed in a test, even if the
filesize has changed by this "non-mtimed" modification. So IMHO
SVN makes quite a dangerous guess by exclusively relying on
mtime even in cases where modifications are not only just not
committed, but could be written over.

JH
---------------------------------------
Freedom quote:

     It's time we asked ourselves if we still know the freedoms
     intended for us by the Founding Fathers. James Madison said,
     'We base all our experiments on the capacity of mankind for self-government.'
     This idea that government was beholden to the people,
     that it had no other source of power, is still the newest,
     most unique idea in all the long history of man's relation to man.
     This is the issue of this election:
     Whether we believe in our capacity for self-government
     or whether we abandon the American Revolution and confess
     that a little intellectual elite in a far-distant capital
     can plan our lives for us better than we can plan them ourselves.
               -- Ronald Reagan, October 27, 1964

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 20 15:12: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.