void Diff_Click(object sender, EventArgs e) { if (currentNodes == null || currentNodes.Length != 2) { return; } string path1 = (currentNodes[0] as GenericNode).BackingPath; string path2 = (currentNodes[1] as GenericNode).BackingPath; TortoiseProc.Execute("vdiff", path1, path2); }
void Update_Click(object sender, EventArgs e) { TortoiseProc.Execute("pull", GetPaths()); }
void Commit_Click(object sender, EventArgs e) { TortoiseProc.Execute("commit", GetPaths()); }
void Push_Click(object sender, EventArgs e) { TortoiseProc.Execute("push", GetPaths()); }
void ShowLog_Click(object sender, EventArgs e) { TortoiseProc.Execute("log", GetPaths()); }
void DiffChange_Click(object sender, EventArgs e) { TortoiseProc.Execute("vdiff", GetPaths()); }
void Ignore_Click(object sender, EventArgs e) { TortoiseProc.Execute("ignore", GetPaths()); }
void Add_Click(object sender, EventArgs e) { TortoiseProc.Execute("add", GetPaths()); }
void UndoAdd_Click(object sender, EventArgs e) { TortoiseProc.Execute("forget", GetPaths()); }
void Revert_Click(object sender, EventArgs e) { TortoiseProc.Execute("revert", GetPaths()); }
void EditConflict_Click(object sender, EventArgs e) { TortoiseProc.Execute("merge", GetPaths()); }