Re: Automatic Refreshing
Bo Berglund <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Organization | cvsnt.org news server |
| Message-ID | <[email protected]> |
On Wed, 22 Nov 2006 20:11:36 -0000, "pmh232" <[email protected]> wrote: >I just noticed that wincvs (ver 2.0.2.4 (Build 4)) is refreshing its >frame automatically every 10 seconds. > >(Don't know why I didn't notice that before; maybe it's just that I'm >ornery enought to bite heads off today - and need to get some work >done, instead of being bothered by the applications I have to use.) > >Whose bright idea was that? > >...and how do I turn it off? > WinCvs is updating its view of the sandbox so that it can detect which files have been modified and should be painted red. If you keep your sandbox on a local drive this will not be noticeable since WinCvs has hooked into a Windows API that sends an event whenever the file changes so it does not need a scanning. But that same API switches to scanning if the directories being watched are not local to the PC where WinCvs runs. I believe that the switch is done by the Windows API, but the scan is done in the context of the WinCvs application and therefore the CPU cycles used are referenced to WinCvs.exe. This is one of the BIG reasons NEVER to keep a checked out sandbox on a network share! HTH /Bo (Bo Berglund, developer in Sweden)