[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: Branko Čibej <brane_at_xbc.nu>
Date: 2005-07-22 11:15:41 CEST

bd@bc-bd.org wrote:

>Hello,
>
>[please CC me as I am not on the list]
>
>Abstract
>
> Sometimes users share a working copy. It would be nice to not have to
> type --username all the time, or re-enter the username at the prompt.
>
>Proposal
>
> I wrote a small patch (attached) to set a default login using an
> environment variable called SVN_USERNAME. It will be overridden by a
> passed --username option:
>
>
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`"

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 22 11:26:46 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.