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

RE: Re: Changing usernames

From: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA <artur.kedzierski_at_navy.mil>
Date: 2006-04-26 21:33:48 CEST

        Thank You. I put a script together and was able
to change the usernames.

--
Artur Kedzierski
-----Original Message-----
From: Greg Thomas [mailto:thomasgd@omc.bt.co.uk]
Sent: Wednesday, April 26, 2006 10:25
To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Cc: users@subversion.tigris.org
Subject: Re: Changing usernames
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

  • application/x-pkcs7-signature attachment: smime.p7s
Received on Wed Apr 26 21:35:09 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.