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

Re: Re: [PATCH] optionally use $SVN_USERNAME as login

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-07-22 18:10:23 CEST

On Fri, 2005-07-22 at 16:40 +0200, Peter N. Lundblad wrote:
> I think that's confusing. I think it's better to add those options to the
> config file.

It's confusing to add them to the help output, but having them silently
ignored by commands which don't need them wouldn't be terribly
confusing. I don't know what we'd have to change about command-line
parsing to introduce options which are accepted but not documented for
certain subcommands. Perhaps we could just a list of globally-accepted
options, and suppress the "subcommand foo doesn't accept option bar"
error for options on that list.

Adding options to the config file is not equivalent. If I want to use
"svn --username=foo" in a script, I can't add a username option to the
config file from within the script instead, because it would interfere
with svn executions by the user outside of the script.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 22 18:12:34 2005

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