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

Re: Aborted commits and commit messages

From: Marcel Molina Jr. <marcel_at_vernix.org>
Date: 2004-04-20 18:29:05 CEST

On Tue, Apr 20, 2004 at 11:24:19AM -0500, Ben Collins-Sussman wrote:
> On Mon, 2004-04-19 at 20:57, Richard Garand wrote:
> > When a commit fails for some reason, subversion prints an error like this:
> >
> > svn: Your commit message was left in a temporary file:
> > svn: '/home/richard/projects/cms1/svn-commit.tmp'
> >
> > Doesn't it make sense to load that message during the next commit attempt
> > instead of making the user to abort the commit, open the file, copy the
> > message, start a new commit, and paste the message? As of version 1.0.1, I
> > have never seen subversion do this.
>
> Why are you aborting the commit and copying/pasting?
>
> If, in your 2nd commit, your $EDITOR comes up blank, why not just insert
> the contents of the 'svn-commit.tmp' file into the current buffer? In
> emacs, it's a simple "C-X, i". I'm sure it's just as easy to do that in
> vi or any other editor.

just to save someone a second of time, in vi it would be done like this:

:r <filename>

in command mode

marcel

-- 
Marcel Molina Jr. <marcel@vernix.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 20 18:29:54 2004

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.