[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: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-05-27 22:35:46 CEST

On Tue, 27 May 2003 13:56:35 -0600, Jamin W. Collins
<jcollins@asgardsrealm.net> wrote:
> On Tue, May 27, 2003 at 07:29:51PM +0000, Faheem Mitha wrote:
>> So I would suggest something like
>> svn commit -m...
>> [Enter]
>> Commit changes? [Y/n] (yes as default, just hit enter)
>> svn commit
>> [Exit editor]
>> Commit changes? [Y/n] (yes as default, just hit enter)
>> This could perhaps be a configurable option to avoid annoying the
>> experts.
> Preferrably one that defaults to off.
>> Oh, and please don't reply telling me to "make sure you want to
>> commit" or some such. There is always the possibility of human error.
> How is a confirmation going to fix that? There still the chance of
> mistakenly saying yes to the confirmation request.

I have in mind (for example) someone who fired up `svn commit' and
halfway through writing the log message thinks "Oh crap, I didn't mean
to commit that." Presumably, such a person who be careful to say no to
the confirmation request. :-)

However, since I was just informed (if I understood correctly) that
unsaved changes to the log would prompt an abort question, I guess
that takes care of that concern, since I can always make sure to exit
my editor with unsaved changes.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 27 22:45: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.