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

Re: [TSVN] Re: Commit window enhancement request

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-07-11 16:03:57 CEST

Ronny Schuetz wrote:
>>>>Changed by the commit? I.e. a commit of file A might change file B which
>>>>was previously unchanged?
>>>
>>>
>>>We're not talking about file contents, but file status here.
>>
>>
>>Ok, fine. Can the commit or failed commit of one file change the status
>>of another file which was previously unchanged compared to the
>>repository? If yes, could you explain this a bit more in detail?
>
> No reply to this question? I'd really like to know why this should be
> the case and why it wouldn't be sufficient to re-fetch the
> status of the files listed as changed before instead of all files ...

It wouldn't make a difference in speed. If you fetch the status of a
single file, it's the same as if you fetched the status of the whole
folder, well almost. You see, the biggest performance hit are the file
accesses to the files in the .svn folder and the entries file. So if you
fetch the status of a file, the number of files accessed internally by
Subversion is the same as if you fetch the status of all files in the
same folder.
The only difference is that it is faster to fetch the status of one file
than of all files in the folder if the files have a changed "last write
time" but still are at status 'normal'.

So your proposal would not help to improve the speed (or lets be more
specific: it would improve the speed but no one would even notice it)
but would cause a *big* codechange and mean a lot of work.

Just think about the algorithm needed to check which files to fetch the
status for and then decide if the status of each file should be fetched
separately or if it would be faster to just fetch the status of all
files in the folder.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 11 16:04:21 2005

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.