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

Re: "svn commit" should always prompt after popping up a log message editor

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-09-29 19:54:55 CEST

On Mon, Sep 29, 2003 at 12:52:00PM -0400, Greg Hudson wrote:
> On Mon, 2003-09-29 at 11:03, mark benedetto king wrote:
> > - quit your editor without saving changes.</para>
> > + quit your editor without saving changes. If you've already
> > + saved your commit message, just save an empty message on top
> > + of it.</para>
>
> "On top of it" is confusing; the first thing it brings to my mind is
> "above it within the file."
>

How about:

  If you have already saved your commit message, simply delete the text and
  save again.

Another option might be to explain the decision procedure used by the
cmdline client:

  Subversion will use your commit message without prompting you for
  confirmation if and only if all of the following conditions hold: the
  editor exits successfully, the temporary file still exists, the temporary
  file's size and/or timestamp changed, and the message (before the ignored
  portion) contains non-whitespace characters. This means that you can
  trigger the confirmation dialog in a variety of ways, including (but not
  limited to) killing the editor, removing the temporary file, or saving the
  file with an message containing only whitespace. Experiment with your
  editor and operating system to determine which approach works best for
  you.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 29 19:55:34 2003

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

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