[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-03-01 20:40:14 CET

Scott Palmer <Scott.Palmer@2connected.org> writes:

> C. Michael Pilato wrote:
>
> >Nah, I think Jim is right. --non-interactive *was* written for
> >authentication prompts, but the spirit behind the change was to
> >prevent Subversion from hanging while waiting for input when run from
> >scripts that can't provide that input. Let just go ahead and make
> >--non-interactive disable *all* interactivity. That means that if you
> >do a commit with --non-interactive and no -m or -F, your commit fails
> >with an explanatory error message.
> >
> Why not just leave it up to also using --editor-cmd ? If set
> appropriately couldn't yet get the best of both worlds?

That rather feels like a hack. "Hey, Subversion, please use the
following editor to prompt me: HAHA! Just kidding! I've got no
editor, sucker!"

Passing --non-interactive will have the affect that, if Subversion
needs to prompt for auth, it won't and will instead just fail
(regardless of what editor you've told it to use or not use). And if
Subversion doesn't need to prompt for auth, ... well, then you didn't
need to pass --non-interactive, did you? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 1 20:43:11 2005

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.