[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: terminating a commit..

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2007-02-27 18:10:46 CET

On 2007-02-26 17:11:38 +0100, Méresse Christophe wrote:
> > I know how to uncommit code if necessary, but want I was
> > wondering is, is there a way to terminate the commit once you
> > are in the editor?
>
> Simply quit vi without saving, subversion will ask you if you want
> to continue the commit or abort it.

But this is a problem if the saved, and then decide not to commit.
I can see two simple solutions:

1. If empty log messages are forbidden, save an empty file before
quitting the editor.

2. Have an editor macro that kills the parent (not sure what signal
is best) and quit the editor.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 27 18:11:16 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.