[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: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-07-05 22:38:36 CEST

I happened to stumble on this behaviour this afternoon.

The expected behaviour for me of --non-interactive, is that the command is
never waiting for manual user interaction, not by waiting for a password,
in an editor etc. Using --non-interactive with a missing commit log message
would mean that that command just fails.

If you decide otherwise, please provide an option later on that has this
behaviour ;)

thanks,

Lieven.

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: dinsdag 5 juli 2005 22:16
To: Ulrich Eckhardt
Cc: svn-dev-list
Subject: Re: --non-interactive still invokes editor?

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/39 - Release Date: 4/07/2005
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/39 - Release Date: 4/07/2005
 
---------------------------------------------------------------------
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:08:16 2005

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