Script Editor: SVN Plugins – Arma Reforger
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix $file → $path) |
Lou Montana (talk | contribs) (Add infobox) |
||
Line 1: | Line 1: | ||
{{Infobox/WorkbenchPlugin | |||
|name= SVN Plugins | |||
|editor= script | |||
|descr= CVS-related shortcut commands | |||
|shortcut= <nowiki/> | |||
{{{!}} class="align-left" | |||
! SVN Blame | |||
{{!}} | |||
{{Controls|Alt|Shift|B}} | |||
{{!}}- | |||
! SVN Diff | |||
{{!}} | |||
{{Controls|Alt|Shift|I}} | |||
{{!}}- | |||
! SVN Log | |||
{{!}} | |||
{{Controls|Alt|Shift|L}} | |||
{{!}}} | |||
|file= {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/ScriptEditor/SCR_SVNPlugin.c}} | |||
}} | |||
SVN plugins are keyboard shortcuts to SVN commands - more precisely {{Link|https://tortoisesvn.net/|TortoiseSVN}} commands by default. | SVN plugins are keyboard shortcuts to SVN commands - more precisely {{Link|https://tortoisesvn.net/|TortoiseSVN}} commands by default. | ||
They are defined in {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/ScriptEditor/SCR_SVNPlugin.c}}. | They are defined in {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/ScriptEditor/SCR_SVNPlugin.c}}. | ||
Line 9: | Line 30: | ||
== Commands == | == Commands == | ||
* the {{hl|$path}} parameter is replaced by the absolute file path between double quotes ({{hl|"}}), e.g {{hl|"C:\Users\John Bob\MyFile.c"}}. | |||
* {{Feature|important|As of {{armaR}} 1.0.0, the {{hl|$line}} parameter is '''''not''''' replaced by the line number unlike what the tool says.}} | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 64: | ||
gitex filehistory $path | gitex filehistory $path | ||
|} | |} | ||
Revision as of 11:15, 15 February 2024
SVN Plugins | ||||||
---|---|---|---|---|---|---|
Script Editor plugin | ||||||
| ||||||
CVS-related shortcut commands | ||||||
File: SCR_SVNPlugin.c |
SVN plugins are keyboard shortcuts to SVN commands - more precisely TortoiseSVN commands by default. They are defined in SCR_SVNPlugin.c.
Commands
- the $path parameter is replaced by the absolute file path between double quotes ("), e.g "C:
\Users \John Bob \MyFile.c".
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 |