[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 20:58:14 CET

On Dec 22, 2004, at 2:36 PM, Philip Martin wrote:

> --non-interactive applies to authentication prompts.

The documentation isn't so specific. It simply says:

          --non-interactive : do no interactive prompting

> 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.

I'm not sure about that.

The reason that I ran into it was that I was using it in a scripted
environment where it was appropriate to use the editor (i.e. I was
sitting there ready to type a commit message), but the script wasn't
attached to a TTY, so printing something to stdout/stderr and expecting
to be able to read an answer back from stdin is wrong.

My expectation was that this would be covered under by "do no
interactive prompting."

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:00:17 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.