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

Re: [BUG] svn commit ignores --non-interactive

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2004-12-22 21:03:46 CET

On Dec 22, 2004, at 2:53 PM, Max Bowsher wrote:

> Oliver Klozoff wrote:
>>> --non-interactive applies to authentication prompts. If we
>>> are going to extend it to the log message then would it not
>>> make more sense for it to prevent use of the editor as well,
>>> i.e. require you to use either -m or -F.
>>> --
>>> Philip Martin
>> I can write a quick patch that errors if --non-interactive is
>> specified
>> without -m or -F. Would anybody want that?
>
> +1.
>
> I think this would definitely be a good idea.

As I alluded to in my previous message, if you do that, you'll break my
script. It runs from a GUI process (where it cannot do interactive
prompting since stdin isn't a TTY). It works because --editor-cmd
causes a GUI text editor to edit the log message - the problem is in
what happens when the user (me) inadvertently leaves the message blank
(for example, by fat fingering the keyboard and closing the editor
window.)

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 22 21:05:12 2004

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.