On Nov 15, 2007, at 12:44 AM, Allan Odgaard wrote:
On 14 Nov 2007, at 20:15, Matt Brandt wrote:
I'm having problems with the standard subversion integration in leopard. When I try to do a log command in textmate I get the following in the popup window: [...]
From that stack trace, it looks like either svn produces invalid XML or Ruby’s XML parser is broken.
Try: svn log --xml -v «whatever file/folder you requested the log for»
Then attach this log so I or someone else might try and reproduce it.
Also, is the broken log consistent for all files in this project, other projects on svn?
Allan,
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:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rexml/source.rb:226:in `pos': Illegal seek (Errno::ESPIPE) from / System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/ rexml/source.rb:226:in `current_line' from /System/Library/Frameworks/ Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parseexception.rb: 44:in `line' from /System/Library/Frameworks/Ruby.framework/Versions/ 1.8/usr/lib/ruby/1.8/rexml/parseexception.rb:28:in `to_s' from / Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb: 30:in `htmlize' from /Applications/TextMate.app/Contents/SharedSupport/ Bundles/Subversion.tmbundle/Support/svn_helper.rb:90:in `handle_default_exceptions' from /Applications/TextMate.app/Contents/ SharedSupport/Bundles/Subversion.tmbundle/Support/format_log_xml.rb:171 REXML::ParseException
Thanks for taking a look.
Matt