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

Re: [PATCH] optionally use $SVN_USERNAME as login

From: <kfogel_at_collab.net>
Date: 2005-07-22 17:12:27 CEST

"Max Bowsher" <maxb@ukf.net> writes:
> bd@bc-bd.org wrote:
> >> Bah. This isn't worth the bother of making a patch (and maintaining the
> >> code indefinitely). Instead, put this into your ~/.profile:
> >>
> >> alias svn="/usr/bin/svn --username=`id -un`"
> >
> > $ svn --username foo add tmp
> > Subcommand 'add' doesn't accept option '--username arg'
> >
> > Was my first idea too, does not work.
> This makes me think that certain generic options should be accepted by
> svn for any subcommand.
> Obvious ones are --username and --password. --help could be handled as
> part of the same framework, instead of being a special exception as it
> is now.
> --non-recursive and --recursive, too, probably.
> --encoding, --verbose, and --quiet are also candidates.
> Obviously, they would only show up in the help listings for commands
> they actually affect.

We just had this discussion regarding --non-interactive, and the
conclusion seemed to be that we mildly Don't Want To Go There. See


In this particular case, I think $SVN_USERNAME would be a better
solution even if every command could accept --username.


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:05:59 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.