Newbie having problem with transaction aborted

Vineet Jain (gmail) vinjvinj at gmail.com
Sun Oct 21 20:57:52 CDT 2007


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

Thanks,

Vineet


-----Original Message-----
From: pachi at rvburke.com [mailto:pachi at rvburke.com] 
Sent: Sunday, October 21, 2007 4:04 PM
To: mercurial at selenic.com
Cc: vinjvinj at gmail.com
Subject: Re: Newbie having problem with transaction aborted

> Question 1:

> I installed mercurial a couple of days and back and have started using hg.
> One problem that I have is after I complete the cycle of status, add and
> commit, the vi editor is opened with the changes that I have completed.
> However, when I save the file or quit it hg gives me the message that the
> transaction is being rolled back and aborted.
You should use vim's -f option so the vim process doesn't fork and it's
able to return a meaningful return value to hg.

I use editor=gvim -f in my hgrc file.

Regards,

Rafael Villar Burke



More information about the Mercurial mailing list