[TxMt] Subversion bundle problem

Matt Brandt mattb at walkingdog.net
Fri Nov 16 15:50:09 UTC 2007

On Nov 16, 2007, at 5:42 AM, Allan Odgaard wrote:

> On 15 Nov 2007, at 17:41, Matt Brandt wrote:
>> [...]
>> It doesn't seem to happen to all files in the project. Probably has  
>> to do with some content of the particular log I guess. I've placed  
>> the log from one of the failures at http://walkingdog.net/svnlog  
>> because it is too large to be included inline (~6MB). The size may  
>> have something to do with the failure. The failure message was:
> Unfortunately I cannot reproduce a problem with that log.
> What I did was download your log to /tmp/log.xml then open  
> Subversion.tmbundle/Support/format_log_xml.rb and add these two  
> lines at the top:
>    ENV['TM_BUNDLE_SUPPORT'] = '/Users/duff/Library/Application  
> Support/TextMate/Bundles/Subversion.tmbundle/Support'
>    $stdin.reopen('/tmp/log.xml')
> And then ⌘R — after a few seconds, it generated the HTML  
> corresponding to that log.
> Maybe you could try the same?
> Btw: the log is only 1.4 MB, not 6 MB. Did you upload the proper one?

I did the following in the checked out directory:

    svn log -v --xml pcisetup.c >svnlog
    cp /Applications/TextMate.app/Contents/SharedSupport/Bundles/ 
Subversion.tmbundle/Support/format_log_xml.rb .

added the following two lines to format_log_xml.rb (I don't have any  
custom bundles so there is no Application Support in my ~/Library)

    ENV['TM_BUNDLE_SUPPORT'] = '/Applications/TextMate.app/Contents/ 


I get a window full of apparently valid HTML. I copied it into a file  
and opened that file in Safari and it rendered with a few minor  
glitches. Some of the links didn't work, but I guess that's to be  
expected since it is in a different environment than normal.

This was with a smaller log (only 1.4MB), but I get the same result  
when I try to do a log in TextMate. All of the other commands (blame,  
info, etc) seem to work ok though (at least for this file).


More information about the textmate mailing list