[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: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-23 13:17:24 CET

Jim Correia wrote:
> 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.)

I think that your script is broken right now, and working purely because of
a bug in subversion. The option is --non-interactive, after all,
not --partially-interactive.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 23 13:22:53 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.