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

Re: TSVN not detecting my file as changed.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 21 Feb 2008 17:29:41 +0100

Robert Dailey wrote:
> You could still have thousands of files, or big files, or both. It's
> much faster to compare the modification time than to compare file
> contents.
>
>
> I still doubt it is checking *only* modification dates. How do you
> explain this behavior: I take a text file that is checked into SVN and I
> force the modification date to change to a newer date, however the
> contents haven't changed. TortoiseSVN will not report the file as changed.

1) has the modification date changed?
2) if yes, then compare the file contents
3) stop at the first byte that differs, mark the file as modified
4) if no byte differs, mark the file as not-modified

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-21 17:30:05 CET

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

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