4.20. 仓库浏览器The Repository Browser
Sometimes you need to work directly on the repository, without having a working copy. That's what the Repository Browser is for. What the explorer and the icon overlays are for your working copy is the Repository Browser for the repository. Figure 4.23. The Repository Browser
With the Repository Browser you can execute commands like copy, move, rename, ... directly on the repository.
On the top of the Repository Browser Window you can enter the URL of the repository and the revision you want to browse. Browsing an older revision is useful if you want to e.g. recover a previously deleted file. Use the Copy To... command to do that and enter the full working copy path to where you want to recover your deleted file.
4.21. TSVN的设置TortoiseSVN's Settings
To find out what the different settings are for, just leave your mouse pointer a second on the editbox/checkbox... and a helpful tooltip will popup.
4.21.1.
图4.24. 设置主界面
Apart from setting your preferred language, this dialog allows you to specify (almost) every setting TortoiseSVN has. Language
Selects your user interface language. What else did you expect? Exclude/Ignore pattern
Exclude patterns are used to prevent unversioned files from showing up e.g. in the commit dialog. Files matching the patterns are also ignored by an import. Exclude files or directories by typing in the names or extensions. Patterns are separated by spaces e.g. bin obj *.bak *.~?? *.jar *.[Tt]mp. The first two entries refer to directories, the other four to files. Warning
If you use the subversion configuration file to set a global-ignores pattern, it will override the settings you made here. The Subversion configuration file is accessed using the Edit as described below.
This exclude pattern will affect all your projects. It is not versioned, so it will not affect other users. By contrast you can also use the versioned svn:ignore property to exclude files or directories from version control. You can set the svn:ignore property using the Add to Ignore List command. After commiting every other user will have the same svn:ignore property set for this project / directory as you. If you want to remove an ignored file from svn:ignore, you have to edit the parent folder properties. Read Section 4.12, “Ignoring Files And Directories” and Section 4.9, “Get/Set Information About Files/Directories” for more information. Default number of log messages
Limits the number of log messages that TortoiseSVN fetches when you first select Show Log Useful for slow connections / servers. You can always Fetch All messages. Edit...
... the subversion configuration file directly. Some settings cannot be modified directly by TortoiseSVN, and need to be set here instead. For more information about the subversion config file see the Subversion Manual . The section on Automatic Property Setting is of particular interest, and that is configured here. Short date / time format in log messages
If the standard long messages use up too much space on your screen use the short format.
Set filedates to \
This option tells TortoiseSVN to set the filedates to the last commit time when doing a checkout or an update. Otherwise TortoiseSVN will use the current date. If you are developing software it is generally best to use the current date because build systems normally look at the datestamps to decide which files need compiling. If you use \compile as you expect it to. Close windows automatically
TortoiseSVN will automatically close all progress dialogs when the action is finished without error.
Don't close on conflicts
Automatic window closing is suppressed if there were conflicts during an update. This option is highly recommended to avoid missing conflict reports. Check for newer versions
If checked, TortoiseSVN will check once a week to see if an update is available Force shell icon refresh
If checked, TortoiseSVN will refresh all the overlay icons after every operation without you having to press F5.
Warning
Explorer will refresh every visible icon, not just the status overlays. If you have a network share, or a CD-ROM or floppy showing, then explorer will go and update all the icons from their original source files, and that can be very slow, blocking the explorer process completely for many seconds.
4.21.2.
Figure 4.25. The Settings Dialog, Look and Feel Tab
This tab allows you to choose the items for which TortoiseSVN will display icon overlays. If you feel that your icon overlays are very slow (explorer is not responsive), uncheck the \even disable all icon overlays, but where's the fun in that? Figure 4.26. The Settings Dialog, Overlay Chooser Dialog
You can also change the overlay icon set by clicking on Select Overlay Set. Note that if you change overlay set, you have to restart your computer for the changes to take effect.
The Exclude Paths are used to tell TortoiseSVN for which paths not to show icon overlays and status columns. This is useful if you have some very big working copies containing only libraries which you won't change at all and therefore don't need the overlays. For example:
f:\\development\\SVN\\Subversion will disable the overlays on only that specific folder. You still can see the overlays on all files and folder inside that folder. f:\\development\\SVN\\Subversion* will disable the overlays on all files and folders whose path starts with f:\\development\\SVN\\Subversion. That means you won't see overlays for any files and folders below that path.
The same applies to the Include Paths. Only that for those paths the overlays are shown even if the overlays are disabled for that specific drive type.
You can also specify here which of the TortoiseSVN context menu entries will show up in the main context menu.
4.21.3.
Figure 4.27. The Settings Dialog, Network Tab