message: feat:Added left click commands to incming change nodes, fixes
diff: @@ -2,6 +2,7 @@ import * as fs from "fs";
  import * as path from "path";
  import { TreeItem, TreeItemCollapsibleState, Uri } from "vscode";
  import { Repository } from "../../repository";
  +import { Resource } from "../../resource";
  import { getIconUri } from "../../uri";
  import BaseNode from "./baseNode";
  @@ -31,6 +32,7 @@ export default class IncomingChangeNode implements BaseNode {
  light: getIconUri(`status-${this.type}`, "light")
  };
  item.contextValue = this.contextValue;
  + item.command = this.getCommand();
  return item;
  }
  @@ -38,4 +40,29 @@ export default class IncomingChangeNode implements BaseNode {
  public getChildren(): Promise<BaseNode[]> {
  return Promise.resolve([]);
  }
  +
  + public getCommand() {
  + switch (this.type) {
  + case "modified":
  + return {
  + command: "svn.openChangeHead",
  + title: "Open Changes with HEAD",
  + arguments: [this.uri]
  + };
  + case "deleted":
  + return {
  + command: "svn.openFile",
  + title: "Open File",
  + arguments: [this.uri]
  + };
  + case "added":
  + return {
  + command: "svn.openHEADFile",
  + title: "Open File (HEAD)",
  + arguments: [
  + new Resource(this.uri, this.type, undefined, "none", true)
  + ]
  + };
  + }
  + }
  }
  