This document explains the available settings for the HypnotoadSVN plugin
Adds extra output to the Sublime console. By default debug is turned off. This should only be used for development or if there are unexpected behaviors.
"debug": false,
Disables SVN Info and SVN status checks when opening menus. Enable this feature if you are finding that opening the menus either by right clicking in the folders view or the command palette.
"disableSVNChecks": false,
Sets the files to use for global commands. Set this value to "project" to use the root folders/files of the project. Set this value to "current" to use the active view.
"commandBaseFiles": "project",
You can also specify any path or list of paths. In general, it is better to only use the path option if you are setting it in your project settings.
"commandBaseFiles": "~/Projects/my_svn_project"
or
"commandBaseFiles": [
"~/Projects/my_svn_project",
"~/Projects/my_other_project"
]
Native SVN commands are available on all systems capable of using this plugin. The only requirements is the the SVN command line program is installed.
Allows the user to disable all native SVN commands.
"disable": false,
Allows you to overwrite the location of the svn command, or to link to it if it's not in your PATH.
// Default (just use "svn" command instead of full path)
"svnPath": false
// Windows typically installs it to (with TortoiseSVN)
"svnPath": "C:\\Program Files\\TortoiseSVN\\bin\\svn.exe"
// OSX typicalls installs it to (with XCode)
"svnPath": "/Applications/Xcode.app/Contents/Developer/usr/bin/svn"
Modifies the way SVN commands send their output. The default "outputTo" option is "panel". OutputScrollTo allows you to change how the auto-scroll behavior works. You can also optionally include the raw command in the output. Conflicts will also be highlighted, and the style can be changed for the gutter and highlights.
"outputTo": "panel",
"outputScrollTo": "command",
"outputRawCommand": false,
"outputGutter": "circle",
"outputHighlight": "outline"
- command: When a command is started, scroll the command to the top
- bottom: Every time a line is added, make it visible
- panel: opens an output panel at the bottom of the window (default)
- tab: opens a new tab for output
- dialog: opens an alert dialog for the results of each command
- dot: a small dot
- circle: a circle that fills the width of the gutter
- bookmark: a small arrow indicating the line
- none: no gutter marker
- fill: fills the background of the text
- outline: outlines the selected area
- solid: adds a solid underline to the selected area
- squiggly: adds a squiggly underline to the selected area
- stippled: adds a stippled underline to the selected area
- none: no highlight
Modifies the commit workflow. A minimum message size can be required. Also the verification dialog can be disabled.
"commitMessageSize":
"commitConfirm": true,
Update to revision can optionally show a list of recent revisions for the user to select.
"updateToRevisionHistory": true,
"updateToRevisionHistorySize": 20,
You can change the maximum number of revisions to show when getting logs.
"logHistorySize": 20,
You can enable revert all to show even when "revert" is set to "tortoiseSVN". This is designed to allow you to very quickly perform a revert all when you know for certain that you want to revert all files, bypassing the file selection.
"alwaysEnableRevertAll": True,
If you have your diff set to "native" then you can change the diff tool used to an external tool. Note that this is not a fully formed feature, so it does not yet work with diff with previous, and it only supports tools that use the file location as the final parameter.
"diffCommand": "meld"
As TortoiseSVN is only available for Windows, this section only applies to Windows users.
Allows the user to disable all TortoiseSVN commands
"disable": false,
Specifies the location of the TortoiseProc.exe executable file. This is required to be valid for TortoiseSVN commands to run properly. You should only change this if TortoiseSVN has been installed to a location other than the default.
"tortoiseproc_path": "C:\\Program Files\\TortoiseSVN\\bin\\TortoiseProc.exe",
For each available command, specifies whether to use Native SVN or TortoiseSVN
The default preference for commands is "nativeSVN". This can be changed to tortoiseSVN
"default": "nativeSVN",
Each command can individually prefer native or tortoise. By default, all commands use the default, except for diff and blame, which prefer tortoiseSVN.
- update
- commit
- add
- delete
- rename
- move
- revert
- log
- status
- cleanup
- lock
- unlock
- diff
- blame
- resolve
- switch
- branch
- merge
- checkout
All settings can also be added to the project files. While inside the project, these settings will overwrite the global settings on a case by case basis, so you won't have to copy all settings into each new project. In the project file, group all settings in the "HypnotoadSVN" object.
Branches can only be added to project settings. They are currently not accessible via global settings. Branches will also automatically be added to you project settings as they are used. When you are not in a project, branches are stored in Sublime's session data, which will be deleted after you close the window, and is NOT shared by other windows. Branches will appear in the same order as in the list, and will always move to the top of the list after being used.
"branches": [
'http://source.url/svn/trunk',
'http://source.url/svn/branches/my_branch'
]