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

Re: Changing usernames

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2006-04-26 19:25:14 CEST

On Wed, 26 Apr 2006 09:56:12 -0700, "Kedzierski, Artur CIV
NAVSURFWARCENDIV CORONA" <artur.kedzierski@navy.mil> wrote:

>How can I change the usernames?

The following commands will allow you to get and set a username for an
arbitrary revision:

$ svn propget svn:author --revprop -r $revision file://$repository
$ svn propset svn:author --revprop -r $revision $newUsername file://$repository

where $revision, $newUsername, and $repository are the required, err,
revision, username and repository location, respectively. Simply write
a script to get the old username, translate it to the new one, and
then set it again. Run this for every revision in your repository, and
you're sorted.

HTH,

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 26 19:26:45 2006

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.