Newbie having problem with transaction aborted

Steve Borho steve at borho.org
Sun Oct 21 21:25:26 CDT 2007


On Sun, 2007-10-21 at 21:57 -0400, Vineet Jain (gmail) wrote:
> I tried:
> 
> editor=vim -f
> editor=vi -f
> 
> and am still getting the same error. I'm running ubuntu dapper in a vm on a
> vista host. 
> 
> Here is the version of vi:
> 
> VIM - Vi IMproved 6.4 (2005 Oct 15, compiled May 23 2006 12:03:57)
> Included patches: 1-6
> Compiled by root at rothera.buildd
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -Wall
> Linking: gcc   -L/usr/local/lib -o vim       -lncurses -lgpm

For whatever reason, vim is returning a non-zero return code when it
exits.  I've never seen vim behave this way, but perhaps there is
something in your .vimrc which is causing this.

What happens if you edit a file from your shell, then check the return
code?

% vim file.c
% echo $?

You can try running vim with no configuration files with vim -C.

I would also try a different text editor, do you have nano or pico
installed?  Perhaps there's permissions problems with $TEMP in your
setup?

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial mailing list