On 02 Jan 2016, at 23:36, Ian Lepore <i...@freebsd.org> wrote:
> 
> On Sat, 2016-01-02 at 22:31 +0000, Ian Lepore wrote:
...
> 
> Bah.  This is not what I intended to commit, I was going to reword that
> comment block to better match what I found while testing.  I was
> editing the commit message when I decided to do that, so I hit ^C in
> the shell that was waiting for me to finish editing in emacs, and to my
> surprise it sent the commit instead of cancelling.  What's the right
> way to change your mind at this late stage of a commit?

Ensure that the temporary file created by Subversion is either
completely empty, or deleted.  This will abort the commit.

Alternatively, type a commit message at leisure before committing, save
it in a file, and use:

  svn ci -F commit-message.txt

This is what I do.  I almost never let Subversion start an editor for
me, that is.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to