On 3/10/07, dionisos@tigris.org <dionisos@tigris.org> wrote:
> Author: dionisos
> Date: Sat Mar 10 03:22:25 2007
> New Revision: 23767
>
> Log:
> Make the 'working file has changed' heuristic more robust:
> check for the size of the file too.
For weeks (months?) now, people on users@ have been arguing we're
inconsistent about treating mtimes: On one side we say we won't record
(and restore) them because it's impossible to depend on them, yet on
the other side we use them as the *only* indicator in our heuristic
for 'changedness'-detection. This is a problem for some people and has
shown to be a problem with 'recode' which restores the timestamp of a
file to what it was before it got recoded (bleh!).
This commit extends our heuristic to consider the size of the file as
an additional indicator.
I hope this eliminates the discussion and strengthens people's belief
in Subversion's robustness.
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 10 12:44:49 2007