-
Notifications
You must be signed in to change notification settings - Fork 0
/
SuricateVCS.json
147 lines (146 loc) · 3.81 KB
/
SuricateVCS.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"user_source_control": [],
// ${path} will be replaced by file or folder. The rest of build variables
// are expanded after it.
"source_control": [
{
"name": "Tortoise SVN",
"exes": ["TortoiseProc.exe"],
"flags": "Svn",
"commands": {
"diff": {
"caption": "Compare with Base...",
"cmd": ["TortoiseProc.exe", "/command:diff", "/path:${path}"],
"out": "gui"
},
"commit": {
"caption": "Commit...",
"cmd": ["TortoiseProc.exe", "/command:commit", "/path:${path}"],
"out": "gui"
}
}
},
{
"name": "Tortoise Git",
"exes": ["TortoiseGitProc.exe"],
"flags": "Git",
"commands": {
"diff": {
"caption": "Compare with HEAD...",
"cmd": ["TortoiseGitProc.exe", "/command:diff", "/path:${path}"],
"out": "gui"
},
"commit": {
"caption": "Commit...",
"cmd": ["TortoiseGitProc.exe", "/command:commit", "/path:${path}"],
"out": "gui"
}
}
},
{
"name": "RabbitVCS",
"exes": ["rabbitvcs"],
"flags": "Svn|Git",
"commands": {
"diff": {
"caption": "Compare...",
"cmd": ["rabbitvcs", "diff", "${path}", "-s"],
"out": "gui"
}
}
},
{
"name": "Git",
"exes": ["git"],
"flags": "Git",
"commands": {
"diff": {
"caption": "Diff",
"cmd": ["git", "diff", "${path}"],
"out": "buffer"
},
"add": {
"caption": "Add",
"cmd": ["git", "add", "${path}"]
},
"gitcheckout": {
"caption": "Checkout",
"cmd": ["git", "checkout", "${path}"],
"ask": "Your working copy of ${path} will be replaced by the last version in the repository.\nContinue anyway?"
},
"status": {
"caption": "Status",
"cmd": ["git", "status", "${path}"],
"out": "buffer"
},
"status_list": {
"caption": "List Modified Files",
"cmd": ["git", "ls-files", "--modified", "${path}"],
"out": "modifiedfiles_list"
}
}
},
{
"name": "Svn",
"exes": ["svn"],
"flags": "Svn",
"commands": {
"diff": {
"caption": "Diff",
"cmd": ["svn", "diff"],
"out": "buffer"
},
"status": {
"caption": "Status",
"cmd": ["svn", "status", "${path}"],
"out": "buffer"
}
}
},
{
"name": "Surround SCM + WinMerge",
"exes": ["sscm", "winmergeu"],
"flags": "Surround|IsFile",
"commands": {
"diff": {
"caption": "Differences",
"cmd": ["sscm", "diff", "${path}", "-c", "-i-", "-u\"winmergeu %1 %2\""],
"out": "gui"
}
}
},
{
"name": "Surround SCM",
"exes": ["sscm"],
"flags": "Surround|IsFile",
"commands": {
"checkout": {
"caption": "Checkout",
"cmd": ["sscm", "checkout", "${path}", "-c-"]
},
"undocheckout": {
"caption": "Undo Checkout",
"cmd": ["sscm", "uncheckout", "${path}"],
"ask": "Your working copy of ${path} will be replaced by the last version in the repository.\nContinue anyway?"
},
"diff": {
"caption": "Differences",
"cmd": ["sscm", "diff", "${path}", "-c", "-i"],
"out": "buffer"
}
}
},
{
"name": "Surround SCM",
"exes": ["sscm"],
"flags": "Surround|IsDir",
"commands": {
"status": {
"caption": "List checked out files...",
"cmd": ["sscm", "ls", "-f\"Checked Out Files\"", "-r"],
"out": "status_list"
}
}
}
]
}