RE: [TSVN] Algorithm for determining if files are locally m odified
From: Thamm, Russell <russell.thamm_at_dsto.defence.gov.au>
Date: 2004-06-24 08:54:36 CEST
Thanks Stefan,
I don't use any Subversion code.
I simply process all the entries files in the .svn directories, calculate
I will try using file dates and sizes to optimise this
Russell
-----Original Message-----
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.