Script Editor: SVN Plugins – Arma Reforger
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add infobox) |
Lou Montana (talk | contribs) m (Fix typo) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox/WorkbenchPlugin | {{Infobox/WorkbenchPlugin | ||
|name= SVN Plugins | |name= SVN Plugins | ||
|editor= script | |editor= resource script | ||
|descr= | |descr= VCS-related shortcut commands | ||
|shortcut= <nowiki/> | |shortcut= <nowiki/> | ||
{{{!}} class="align-left" | {{{!}} class="align-left" | ||
! SVN Blame | ! SVN Blame | ||
{{!}} | {{!}} | ||
{{Controls|Alt|Shift|B}} | {{Controls|Alt|Shift|B}}<br>''{{Link|Arma Reforger:Script Editor}} only'' | ||
{{!}}- | {{!}}- | ||
! SVN Diff | ! SVN Diff | ||
{{!}} | {{!}} | ||
{{Controls|Alt|Shift|I}} | {{Controls|Alt|Shift|I}}<br>''{{Link|Arma Reforger:Script Editor}} only'' | ||
{{!}}- | {{!}}- | ||
! SVN Log | ! SVN Log | ||
Line 25: | Line 25: | ||
{{Feature|informative| | {{Feature|informative| | ||
The plugins are named {{Link|https://subversion.apache.org/|SVN}} but can absolutely be used with another VCS software like {{Link|https://git-scm.com/|Git}} (e.g {{Link|https://gitextensions.github.io/|Git Extensions}}), provided commands are replaced in the plugins's options.<br> | The plugins are named {{Link|https://subversion.apache.org/|SVN}} but can absolutely be used with another VCS software like {{Link|https://git-scm.com/|Git}} (e.g {{Link|https://gitextensions.github.io/|Git Extensions}}), provided commands are replaced in the plugins's options.<br> | ||
They | They will be renamed to '''VCS''' plugins in {{GVI|armaR|1.3.0}}. | ||
}} | }} | ||
Line 31: | Line 31: | ||
== Commands == | == Commands == | ||
* | Commands can be anything and have two possible parameters: | ||
* | * {{hl|$path}}: replaced by the absolute file path between double quotes ({{hl|"}}), e.g {{hl|"C:\Users\John Bob\MyFile.c"}}. | ||
* {{hl|$line}}: replaced by the current cursor position's line number. | |||
{| class="wikitable" | {| class="wikitable" | ||
! Name | ! Name | ||
! Shortcut | ! style="min-width: 12em" | Shortcut | ||
! Description | ! Description | ||
! Command | ! Command |
Latest revision as of 03:32, 8 November 2024
SVN Plugins | ||||||
---|---|---|---|---|---|---|
This plugin is available in: | ||||||
| ||||||
VCS-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
Commands can be anything and have two possible parameters:
- $path: replaced by the absolute file path between double quotes ("), e.g "C:
\Users \John Bob \MyFile.c". - $line: replaced by the current cursor position's line number.
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 |