Skip to content

Commit

Permalink
• Default TM_P4 to 'p4' where it previously had no default
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/Perforce.tmbundle@6622 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
Chris Thomas committed Feb 23, 2007
1 parent c6f2eb9 commit 858e798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Commands/Diff Labels….plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>labels=`"$TM_P4" labels | cut -d " " -f 2`
<string>labels=`"${TM_P4:=p4}" labels | cut -d " " -f 2`
#echo $labels
difflabels=`osascript&lt;&lt;END
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 @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>labels=`"$TM_P4" labels "$TM_FILEPATH" | cut -d " " -f 2`
<string>labels=`"${TM_P4:=p4}" labels "$TM_FILEPATH" | cut -d " " -f 2`
revs=`osascript&lt;&lt;END
set AppleScript's text item delimiters to {"\n","\r"}
Expand Down

0 comments on commit 858e798

Please sign in to comment.