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

Re: author alias

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Tue, 02 Sep 2008 07:14:29 -0400

cz01_at_sixxac.com wrote:
> Is it possible to use an alias for the author in a Subversion repository?
> There is already support for aliases in the rules authorization file - we would
> like to see this alias in the history instead of the account name.

There is nothing that *requires* the author name to be the same thing as the
account name, it just easier that way. Arrange to have the author name in an
environment variable and create an alias (or wrapper script) which does the
moral equivalent of

        alias svn='svn --username=$AUTHOR'

and it will just work fine. Set up your authorization based on author names not
usernames and you are golden.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-02 13:14:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.