<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.6" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: svn: system(&#8217;vi svn-commit.tmp&#8217;) returned 256</title>
	<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/</link>
	<description>//code, //design, //real life</description>
	<pubDate>Mon, 21 May 2012 11:01:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.6</generator>

	<item>
		<title>by: René</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-71740</link>
		<pubDate>Sat, 04 Sep 2010 10:42:37 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-71740</guid>
					<description>Not really – I use vi as EDITOR in my ~/.profile for years and still get this error daily. I think it has to do that Apple's patched vi does sometimes return an error code although one intended to save the file and leave the editor cleanly. I get the impression that when you ESC out of the editing mode, or hit some other key that has no binding Apple's patched vi returns and non-0 exit code, ... and thus let svn commit abort.</description>
		<content:encoded><![CDATA[<p>Not really – I use vi as EDITOR in my ~/.profile for years and still get this error daily. I think it has to do that Apple&#8217;s patched vi does sometimes return an error code although one intended to save the file and leave the editor cleanly. I get the impression that when you ESC out of the editing mode, or hit some other key that has no binding Apple&#8217;s patched vi returns and non-0 exit code, &#8230; and thus let svn commit abort.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: luis</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-71689</link>
		<pubDate>Sat, 04 Sep 2010 00:15:50 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-71689</guid>
					<description>I just got the same error on a 10.6.4 system and solved it by setting SVN_EDITOR=vi in my .bashrc file.   Hope that helps.</description>
		<content:encoded><![CDATA[<p>I just got the same error on a 10.6.4 system and solved it by setting SVN_EDITOR=vi in my .bashrc file.   Hope that helps.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: René</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-65642</link>
		<pubDate>Tue, 05 Jan 2010 20:00:02 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-65642</guid>
					<description>No. It just happened today three times in a row under Mac OS X 10.6.2. Still vi, though, ...</description>
		<content:encoded><![CDATA[<p>No. It just happened today three times in a row under Mac OS X 10.6.2. Still vi, though, &#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tim</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-65641</link>
		<pubDate>Tue, 05 Jan 2010 19:51:40 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-65641</guid>
					<description>Did you get this fixed, I have the exact problem (although substitute emacs with vi...not sure why)</description>
		<content:encoded><![CDATA[<p>Did you get this fixed, I have the exact problem (although substitute emacs with vi&#8230;not sure why)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: René</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-61457</link>
		<pubDate>Wed, 22 Jul 2009 09:12:14 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-61457</guid>
					<description>Interesting. I had the "feeling" it more often occurred when I used C-z (Ctrl-z) to SIGSTOP the editor into the background — for example to re-run "svn diff" to re-review the changes and/or even edit last-minute spotted typos away. Maybe it is indeed not some broken process handling and just their shipped vim returning wrong exit codes? Have to check by using another editor for the log messages for some weeks:-)</description>
		<content:encoded><![CDATA[<p>Interesting. I had the &#8220;feeling&#8221; it more often occurred when I used C-z (Ctrl-z) to SIGSTOP the editor into the background — for example to re-run &#8220;svn diff&#8221; to re-review the changes and/or even edit last-minute spotted typos away. Maybe it is indeed not some broken process handling and just their shipped vim returning wrong exit codes? Have to check by using another editor for the log messages for some weeks:-)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Alec</title>
		<link>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-61435</link>
		<pubDate>Tue, 21 Jul 2009 19:15:50 +0000</pubDate>
		<guid>http://rene.rebe.de/2009-07-17/svn-systemvi-svn-committmp-returned-256/#comment-61435</guid>
					<description>I know the cause, but not the solution: The problem is caused when you enter an invalid command in vim - it seems to tell vim 'something went wrong in this session' so even if you do end up saving correctly vim still exits with 256. This manifests itself for me when I type ":Wq" instead of ":wq", since "W" is not a valid vim command

I really wish I knew how to tell vim to stop doing this.</description>
		<content:encoded><![CDATA[<p>I know the cause, but not the solution: The problem is caused when you enter an invalid command in vim - it seems to tell vim &#8217;something went wrong in this session&#8217; so even if you do end up saving correctly vim still exits with 256. This manifests itself for me when I type &#8220;:Wq&#8221; instead of &#8220;:wq&#8221;, since &#8220;W&#8221; is not a valid vim command</p>
<p>I really wish I knew how to tell vim to stop doing this.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

