forked from shoorick/svn-st-color
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
240 lines (239 loc) · 7.22 KB
/
config.yml
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
---
subcommands:
add:
# use rules of other subcommand
use: status
# auth: not yet implemented
blame:
# aliases of subcommand - regular expression without ^ and $
aliases: (ann(otate)?|praise)
# matching rules: name and regular expression
rules:
new: ^\s+-\s+-\s
# cat:
changelist:
aliases: cl
use: status
checkout:
aliases: co
rules:
added: ^A
checked_out: ^Checked out
conflict: ^...C
forced: ^E
restored: ^Restored
updated_props: ^.U
# cleanup:
commit:
aliases: ci
rules:
committed: '^Committed revision \d+'
copy:
aliases: cp
use: status
delete:
aliases: (del|remove|rm)
use: status
diff:
aliases: di
# use rules of other subcommand
# when specified argument found in command line
conditional_use:
'--summarize': status
rules:
add_file: '^\+{3}'
add: '^\+{1,2}[^\+]'
remove_file: '^-{3}'
remove: '^-{1,2}[^-]'
index: '^(Index:|===)'
lines: '^[@#_]{2}'
modified: '^(Property changes on|Modified): '
# export:
help:
aliases: [h\?]
rules:
header: ^(Available subcommands|Example output|Global options|usage|Valid options):\s
# import:
# info:
list:
aliases: ls
# lock:
log:
rules:
data: '^r\d+\s+\|\s+\w+\s+\|\s+\d+'
line: '^-{10}'
# merge:
# mergeinfo:
mkdir:
use: status
move:
aliases: (mv|ren(ame)?)
use: status
patch:
use: status
propdel:
aliases: pd(el)?
propedit:
aliases: pe(dit)?
# bypass all output processing
interactive: 1
propget:
aliases: pg(et)?
proplist:
aliases: pl(ist)?
propset:
aliases: ps(et)?
# relocate:
# resolve:
# resolved:
# revert:
status:
aliases: st(at)?
rules:
# First column
added: ^A[^t].[^\+]
conflict: ^C
deleted: ^D..[^\+]
existed: ^E
ignored: ^I
merged: ^G
modified: ^M..[^\+]
replaced: ^R..[^\+]
external: ^X
missing: ^!
kind_changed: ^~
# Second column - properties
conflict_props: ^.C
modified_props: ^.M
updated_props: ^.U
# Third column - lock
locked: ^..L
broken_lock: ^..B
# Fourth column - history
added_with_history: ^A[^t].\+
deleted_with_history: ^D..\+
modified_with_history: ^M..\+
replaced_with_history: ^R..\+
history: ^[^ADMR]..\+
# Fifth column - switch
switch: ^....S
# Sixth column
locked_here: ^.....K
locked_other: ^.....O
locked_stolen: ^.....T
locked_broken: ^.....B
# Seventh column
victim: ^......C
# http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.status.html
list: ^--- Changelist
moved: ^ {8}> moved
switch:
aliases: sw
use: status
# unlock:
update:
aliases: up
use: status
# upgrade:
ALL:
STDERR:
rules:
error: '^svn: E\d+:'
warning: '^svn: warning: W\d+:'
# Color schema
colors:
default:
blame:
new: bold white
checkout:
added: green
conflict: bold white on_red
checked_out: bold white
forced: cyan
restored: bold green
updated_props: black on_yellow
commit:
committed: green
diff:
add: green
add_file: bold green
remove: red
remove_file: bold red
lines: bold white
index: bold cyan
modified: bold yellow
help:
header: bold white
log:
line: bold white
data: bold cyan
status:
added: bold green
modified: bold yellow
modified_props: black on_yellow
deleted: bold red
replaced: bold cyan
ignored: bold black
conflict: bold white on_red
missing: black on_red
kind_changed: bold magenta on_blue
list: bold white
locked: black on_magenta
moved: cyan on_blue
added_with_history: bold green on_blue
deleted_with_history: bold red on_blue
modified_with_history: bold yellow on_blue
replaced_with_history: bold cyan on_blue
history: white on_blue
STDERR:
error: red
warning: yellow
light:
blame:
new: bold black
checkout:
added: green
checked_out: bold black
conflict: bold yellow on_red
forced: cyan
restored: bold green
updated_props: black on_yellow
commit:
committed: green
diff:
add: green
add_file: bold green
remove: red
remove_file: bold red
lines: bold black
index: bold blue
modified: yellow
help:
header: bold black
info:
error: red
warning: yellow
log:
line: bold black
data: bold blue
status:
added: green
modified: yellow
modified_props: black on_yellow
deleted: red
replaced: cyan
ignored: bold black
conflict: bold yellow on_red
missing: black on_red
kind_changed: bold magenta on_blue
list: bold black
locked: black on_bright_magenta
moved: cyan on_bright_cyan
added_with_history: green on_bright_cyan
deleted_with_history: red on_bright_cyan
modified_with_history: yellow on_bright_cyan
replaced_with_history: blue on_bright_cyan
history: white on_bright_cyan
STDERR:
error: red
warning: yellow