Script Editor: SVN Plugins – Arma Reforger

From Bohemia Interactive Community
Revision as of 11:57, 14 February 2024 by Lou Montana (talk | contribs) (Fix $file → $path)
Jump to navigation Jump to search

SVN plugins are keyboard shortcuts to SVN commands - more precisely TortoiseSVN commands by default. They are defined in SCR_SVNPlugin.c.

The plugins are named SVN but can absolutely be used with another VCS software like Git (e.g Git Extensions), provided commands are replaced in the plugins's options.
They may be renamed to VCS plugins in the future.


Commands

Name Shortcut Description Command
SVN Blame Alt + ⇧ Shift + B List the last author of each line, to find the culprit
TortoiseProc /command:blame /path:$path /startrev:1 /endrev:-1 /ignoreeol /ignoreallspaces /line:$line
gitex blame $path
SVN Diff Alt + ⇧ Shift + I List the changes between the repository and the local file
TortoiseProc /command:diff /path:$path
gitex difftool $path
SVN Log Alt + ⇧ Shift + L Show the file's changes commit history
TortoiseProc /command:log /path:$path
gitex filehistory $path
$path will be replaced by the absolute file path between double quotes (").
As of Arma Reforger 1.0.0, $line is not replaced by the line number unlike what the tool says.


See Also