Skip to content

Commit 94e704d

Browse files
committed
Make SVN extension open 3-way editor by default
1 parent fe5c6c0 commit 94e704d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/resource.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Resource implements SourceControlResourceState {
4949
private _renameResourceUri?: Uri,
5050
private _props?: string,
5151
private _remote: boolean = false
52-
) {}
52+
) { }
5353

5454
@memoize
5555
get resourceUri(): Uri {
@@ -96,6 +96,14 @@ export class Resource implements SourceControlResourceState {
9696
"open diff"
9797
);
9898

99+
if (!this.remote && this.type == Status.CONFLICTED) {
100+
return {
101+
command: "svn.openConflict",
102+
title: "Open Conflict Merge Resolution",
103+
arguments: [this]
104+
};
105+
}
106+
99107
if (!this.remote && changesLeftClick === "open") {
100108
return {
101109
command: "svn.openFile",

0 commit comments

Comments
 (0)