[TxMt] output: show as HTML vs. Create New Document

Zvi Biener zvistrash at gmail.com
Tue May 15 20:17:41 UTC 2007


Dear All,

I have a strange situation wherein the output of a command appears  
properly if I select "Show as HTML", but disappears if I select  
"Create New Document" (i.e., a blank file appears). Why does this  
happen?

Here is the full story:
I wanted to modify the subversion Diff commands to use wdiff instead  
of subversions built-in capacities. I added an enviornment variable  
called "TM_SVN_DIFF_CMD", with a value "wdiff_svn_wrapper.sh".  
"wdiff_svn_wrapper.sh" is simply a wrapper script that calls "wdiff  
$6 $7". I do this in order to get read of the numerous options that  
subversion attaches, and retain only the file names.

If I then use the commands "Diff Revisions..." or "Diff With  
Revision..." everything works perfectly: I get the appropriate  
comparison between the appropriate revision. If I use "Diff With  
Newest (Head)" or "Diff With Working Copy (Base)", etc., I get the  
appropriate output if I select "Show as HTML" for the output, but a  
blank document if I select "Create New Document" as output. What can  
be happening?

Thanks,
Zvi




More information about the textmate mailing list