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

Re: small user request: confirm before commit

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2003-05-27 23:19:20 CEST

On Tue, May 27, 2003 at 04:17:07PM -0500, Nicholas Riley wrote:
> How about additionally checking for an empty log message? Then you'd
> get:
> Commit changes using an empty log message? (yes/no/edit)
> If someone really wanted an empty log message on a regular basis, they
> could just use svn commit -m ''. And since the confirmation doesn't
> always appear, it would actually be meaningful.

Whoops, I should have tested the existing behavior first. All that
needs to change is the definition of 'empty'. The current prompt is:

  Log message unchanged or not specified
  a)bort, c)ontinue, e)dit

If log messages consisting entirely of whitespace counted as 'not
specified', then this would work well for editors which add trailing
newlines, etc.

=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 27 23:20:14 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.