Solve the problem of computer slowness caused by tortoisesvn client [SVN optimization]

Source: Internet
Author: User
Tags tortoisesvn
If you think that the svn cache program makes your machine slow, you can refer to this solution. however, it may change your previous usage habits. this solution has two parts: the first part is to disable the svn cache monitoring; the second part is to use the svn check for modifications to display the differences when displaying file differences. 1. Disable SVN cache monitoring. Disable the tsvncache.exe program to monitor directories.The procedure is as follows: a) Right-click any directory and right-click the menu to open the setting window under "tortoisesvn" => "Settings" B) Find the setting item of "icon overlays, set "status cache" to "NONE" 2. Use SVN's "check for modifications" to display differencesThe procedure is as follows: a) Right-click the directory that requires comparison, right-click the menu, and choose tortoisesvn> check for modifications. The comparison difference window is displayed. Note:In this way, the file difference is displayed because after the monitoring is disabled, the program file will be modified again, and the folder will no longer be updated or modified. You can no longer check the file flat icon to see if there are any file changes. Today, I have modified it like this, and I feel that the machine is much better! There are no more cases of Explorer death! Great!       Function Description:    
Default

Cache all status information in an independent process (TSVNCache.exe). This process monitors changes to all drives and obtains the status of files in the working copy when they are modified. This process runs with the lowest priority, so other programs will not be run by it. This also means that the status information is notReal-timeBecause it takes several seconds to handle changes in the icon coverage.

Advantage: the icon overwrites the recursive display status, that is, if a file in the depth of the working copy is modified, the modified icon overwrites the root directory of all paths, including working copies. Because the process can send notifications to the Windows Shell, the tree structure on the left of the resource manager is also changed.

Disadvantage: The process continues to run even if you are no longer working in the project. Depending on the number and size of your working copies, it will occupy 10-50 MB of RAM memory.

Windows Shell

The cache is directly completed in the shell extension DLL, but only for those currently visible folders. Every time you browse other folders, the status information will be retrieved again.

Advantage: It only requires a small amount of memory (about 1 MB) and canReal-timeDisplay status.

Disadvantage: because only one folder is cached, icon overwriting does not display the status recursively. In larger working copies, it takes more time to display a folder in a browser than the default cache mode. The mime-type column is invalid.

None

In this setting, tsvn does not get the status in the browser. Therefore, files under version control will not be overwritten by any icons. The folder only has an "normal" icon to overwrite. Other icons are not displayed, and other additional columns are not available.

Advantage: It never occupies any additional memory or slows down the browser browsing speed.

Disadvantage: The status information of files and folders is not displayed in the browser. To know whether your work copy has been modified, you need to use the "check for updates" dialog box.

If you select the default option, the following options are also determined: When a folder contains a non-Version Control Project, overwrite the folder icon and mark it as modified. This useful setting reminds you that you have created a new file that is not version controlled.

The exclusion path is used to tell tsvnNoThe icons overwrite and status columns are displayed under which paths. If you have a large working copy that only contains the library file that you do not want to change, and you do not need to display the icon overwrite, this function will be very useful. For example:

Enterf:\development\SVN\Subversion SetOnlyDeselect the icon overwrite in this special folder. You can still see the icon overwrite on all files and folders in the path.

Enterf:\development\SVN\Subversion* Inf:\development\SVN\SubversionStartAllCancel icon overwrite on files and folders. This means that no icon overwrites are visible to any files/folders in the path.

The inclusion path also uses the same syntax. In addition to some examples, even if the path is under a specific drive type that is overwritten by a cancel icon or under the excluded path above, the icon is still overwritten.

Tsvncache.exe also uses these paths to restrict its scanning. If you want it to only be monitored in certain folders, cancel all drive types and include only the folders you are allowed to scan.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.