Skip to content

Commit

Permalink
Add new Annotate command to Perforce.
Browse files Browse the repository at this point in the history
Define hotkey for P4 commands ctrl-shift-S

git-svn-id: http://svn.textmate.org/trunk/Bundles/Perforce.tmbundle@2659 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
lilyball committed Feb 3, 2006
1 parent 87b1d92 commit 9fd8194
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Commands/Add to Depot.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Add to Depot</string>
<key>output</key>
Expand Down
21 changes: 21 additions & 0 deletions Commands/Annotate.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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>"${TM_P4:=p4}" annotate -c -i -q "$TM_FILEPATH"
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Annotate</string>
<key>output</key>
<string>openAsNewDocument</string>
<key>uuid</key>
<string>D6F5F368-C476-4882-82EA-D11E22A445BF</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Commands/Diff Labels….plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ END
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string></string>
<string>^S</string>
<key>name</key>
<string>Diff Labels…</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Diff With Base.plist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Perforce::diff_active_file("", "Perforce—Diff With Base")
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Diff With Base</string>
<key>output</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Diff With Revision In Label….plist
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ END
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string></string>
<string>^S</string>
<key>name</key>
<string>Diff With Revision In Label…</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Edit Lurkers.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"${TM_P4:=p4}" diff -se ./... | "${TM_P4:=p4}" -x - edit</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Edit Lurkers</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Offline Add to Depot.plist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ echo "$TM_FILEPATH" &gt;&gt; "$HOME/P4Cache/OfflineAdds.txt";
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Offline Add to Depot</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Offline Open For Editing.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ echo "$TM_FILEPATH" &gt;&gt; "$HOME/P4Cache/OfflineEdits.txt";
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Offline Open For Editing</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Offline Process Edits.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ fi
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Offline Send Offline Edits</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Open for Editing.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Open for Editing</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Revert to Latest.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Revert to Latest</string>
<key>output</key>
Expand Down
2 changes: 2 additions & 0 deletions Commands/Submit Changelist….plist
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ IO.popen(%Q{"#{p4}" submit -i}, "w+" ) {|p| p.puts commit_form.to_s }
</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>^S</string>
<key>name</key>
<string>Submit Changelist…</string>
<key>output</key>
Expand Down
1 change: 1 addition & 0 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<key>ordering</key>
<array>
<string>AD9B4CB8-7577-11D9-A32D-000A95A89C98</string>
<string>D6F5F368-C476-4882-82EA-D11E22A445BF</string>
<string>556314B2-B3BF-11D9-9B1F-000A95A89C98</string>
<string>38C6DE3A-7664-11D9-B58C-000A95A89C98</string>
<string>97E895A4-B5B9-11D9-80D4-000A95A89C98</string>
Expand Down

0 comments on commit 9fd8194

Please sign in to comment.