/
Log.plist
48 lines (46 loc) · 1.33 KB
/
Log.plist
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string># XXX: svk log doesn't support multiple paths
# so if multiple files are selected, it will
# only do the first one!
TM_SVK="${TM_SVK:=svk}"
FORMAT_LOG="${TM_BUNDLE_SUPPORT}/format_log.rb"
TM_SVK_LOG_RANGE="${TM_SVK_LOG_RANGE:=BASE:1}"
if [[ -z $TM_SELECTED_FILES ]]; then
"$TM_SVK" log -vr"$TM_SVK_LOG_RANGE" "$TM_FILEPATH" \
2>&1| ruby18 -- "$FORMAT_LOG"
else
eval "$TM_SVK" log -vr"$TM_SVK_LOG_RANGE" $TM_SELECTED_FILES \
2>&1| ruby18 -- "$FORMAT_LOG"
fi</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^~A</string>
<key>name</key>
<string>Log</string>
<key>output</key>
<string>showAsHTML</string>
<key>requiredCommands</key>
<array>
<dict>
<key>command</key>
<string>svk</string>
<key>locations</key>
<array>
<string>/opt/local/bin/svk</string>
<string>/usr/local/bin/svk</string>
</array>
<key>variable</key>
<string>TM_SVK</string>
</dict>
</array>
<key>uuid</key>
<string>9BF6E13C-C31A-11D9-820C-000A95BCAFA8</string>
</dict>
</plist>