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

Re: --non-interactive still invokes editor?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-05 22:45:27 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> On May 2, 2005, at 4:06 AM, Ulrich Eckhardt wrote:
>
>> Cheers!
>>
>> I stumbled over the fact that an invocation of 'svn mkdir --non-
>> interactive
>> $URL' in a script still fires up the editor. Yes, one could
>> consider it a
>> programming mistake to not supply any logentry at all, but I would
>> have
>> expected svn to then fail unless --force-log is supplied.
>>
>> The Book only talks about credentials/authentication, maybe that
>> should be
>> clarified that it really only applies to those.
>
>
> You're right, Uli. It seems that --non-interactive currently means
> "don't prompt for authentication" and nothing else. It has no effect
> on *any* subcommand's ability to launch $EDITOR. (That is, $EDITOR
> is always launched, no matter what.)
>
> Developers: should we document --non-interactive more precisely? Or
> should we fail to launch $EDITOR in the presence of this option?

It's been discussed before, but I don't think anyone cared enough to
change the code. I think --non-interactive should prevent $EDITOR
being invoked. At least one person wanted $EDITOR invoked but did not
want the "a)bort, c)ontinue, e)dit" message. There were probably
other opinions as well.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 23:31:02 2005

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