Skip to content

Commit 9353d14

Browse files
YanpasJohnstonCode
authored andcommitted
feat: Added command Open Changes with PREV (#378)
feat: Added command Open Changes with PREV (#378)
1 parent f0025b3 commit 9353d14

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@
143143
"dark": "icons/dark/open-change-head.svg"
144144
}
145145
},
146+
{
147+
"command": "svn.openChangePrev",
148+
"title": "Open Changes with PREV",
149+
"category": "SVN"
150+
},
146151
{
147152
"command": "svn.openFile",
148153
"title": "Open File",

src/commands.ts

+8
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,14 @@ export class SvnCommands implements IDisposable {
651651
return this.openChange(arg, "HEAD", resourceStates);
652652
}
653653

654+
@command("svn.openChangePrev")
655+
public async openChangePrev(
656+
arg?: Resource | Uri | IncomingChangeNode,
657+
...resourceStates: SourceControlResourceState[]
658+
): Promise<void> {
659+
return this.openChange(arg, "PREV", resourceStates);
660+
}
661+
654662
public async openChange(
655663
arg?: Resource | Uri | IncomingChangeNode,
656664
against?: string,

0 commit comments

Comments
 (0)