Re: [TSVN] Algorithm for determining if files are locally modified
From: Stefan Küng <stefan.kueng_at_wagner-group.ch>
Date: 2004-06-22 11:14:45 CEST
Thamm, Russell wrote:
> Does anyone know what algorithm Tortoise uses to determine which files are locally modified?
Yes. Me, and almost all Subversion developers.
> The MD5 checksum is obviously a definitive but computationally expensive way to do it.
Not more expensive than the algorithm Subversion uses now.
> I have a program that I use to package my applications. One of the things this application
The current source revision? Did you try SubWCRev?
> MD5 to check if there are any locally modified files. This takes a very long time and
More quick? Depends on what optimizations you're doing right now.
What Subversion does right now:
So you see, only if a file has _only_ the filedate changed the whole
Subversion will soon be replacing the last step of this algorithm
Stefan
---------------------------------------------------------------------
|
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.