

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gilles Ruppert &#187; TextMate</title>
	<atom:link href="http://latower.com/tag/textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://latower.com</link>
	<description>a.k.a. elduderino78</description>
	<lastBuildDate>Thu, 05 Aug 2010 00:59:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>TextMate &amp; Subversion 1.5 update problem with conflict</title>
		<link>http://latower.com/2008/10/textmate-subversion-15-update-problem/</link>
		<comments>http://latower.com/2008/10/textmate-subversion-15-update-problem/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:12:13 +0000</pubDate>
		<dc:creator>elduderino78</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://latower.com/?p=40</guid>
		<description><![CDATA[We recently upgraded to Subversion 1.5 server at BBC Worldwide. I ended up upgrading my client at the same time with the latest OSX binary from Colabnet. One weird thing started to happen though: whenever there were conflicts, TextMate wouldn&#8217;t &#8230; <a href="http://latower.com/2008/10/textmate-subversion-15-update-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We recently upgraded to Subversion 1.5 server at BBC Worldwide. I ended up upgrading my client at the same time with the latest OSX binary from Colabnet.<br />
One weird thing started to happen though: whenever there were conflicts, TextMate wouldn&#8217;t allow me to use the &#8216;Resolve Conflicts with FileMerge&#8230;&#8217;.</p>
<p>Long story short: the interactive mode keeps TextMate from getting all the data so you don&#8217;t get the .rxxx &amp; .mine files which are needed for FileMerge to show you the differences.</p>
<p>To fix this is:</p>
<ol>
<li>go into your TextMate Subversion Bundle</li>
<li>go to the &#8216;Update to Newest (HEAD)&#8217; command and add <br/><code>--non-interactive</code> after <code>'#{svn}' update </code></li>
</ol>
<p>You can see the resulting code here (change on line 14).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">require_cmd <span style="color: #ff0000;">&quot;<span style="color: #007800;">${TM_SVN:=svn}</span>&quot;</span> <span style="color: #ff0000;">&quot;If you have installed svn, then you need to either update your &lt;tt&gt;PATH&lt;/tt&gt; or set the &lt;tt&gt;TM_SVN&lt;/tt&gt; shell variable (e.g. in Preferences / Advanced)&quot;</span>
&nbsp;
<span style="color: #ff0000;">&quot;<span style="color: #007800;">${TM_RUBY:-ruby}</span>&quot;</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TM_SUPPORT_PATH</span>/lib/shelltokenize.rb&quot;</span> <span style="color: #cc0000; font-style: italic;">&lt;&lt;END
	svn = ENV['TM_SVN'] || &quot;svn&quot;
	ruby = ENV['TM_RUBY'] || &quot;ruby&quot;
	support = ENV['TM_BUNDLE_SUPPORT']
	paths = TextMate.selected_paths_array
&nbsp;
	# TODO: Ideally, we'd like to use a tooltip for one and not others, but we can't switch from a tooltip
	# to dynamic HTML output (or maybe we could double-fork a process?)
	# if ((paths.size == 1) and not (File.directory? paths[0]))
	#	puts %x{#{svn} update #{TextMate.selected_paths_for_shell}}
	# else
		update = IO.popen(&quot;'#{svn}' update --non-interactive #{TextMate.selected_paths_for_shell}&quot;, 'r')
		format = IO.popen(&quot;'#{ruby}' -- '#{support}/format_status.rb'&quot;, 'w')
		update.each_line { |line| format.puts(line) }
	# end	
END</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># force TM to refresh the current file..</span>
rescan_project</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://latower.com/2008/10/textmate-subversion-15-update-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
