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

Re: rename user

From: Kevin Grover <kogrover_at_yahoo.com>
Date: 2006-08-23 06:12:02 CEST

You can run svnadmin dump on the repository, look through it .. it's straight forward

You will see lines like this

K 10
V 6

K 10 = Keyword, 10 characters
next line holds the keyword: "svn:author"

You search for those and modify the following two lines
V 6

V 6 = value, 6 characters. NOTE: in your case the 6 will be deferent and you'll need to change it
grover === the value (my user name from my dump file)

So, say I have

K 10
V 5

I could change all "V 5\nguest\n" to "V 6\ngrover\n" to change them. Or to be even more sure, include "V 10\nsvn:author\n" in the search/replace strings, in case "guest" happens to be the value of another property.

 Then, you "svnadmin load" the modified file into a new repository
I did this quickly in emacs long ago and it worked well.

NOTE: keep a prisine copy of the dump file around until you've verified that you haven't hosed it up

----- Original Message ----
From: Julien TOUCHE <julien.touche@lycos.com>
To: "users@subversion.tigris.org" <users@subversion.tigris.org>
Sent: Tuesday, August 22, 2006 1:16:37 PM
Subject: rename user

i have a http repository for which i want to rename user and maybe
migrate to svn+ssh.
how does svn handle id so i can preserve the history/log ?



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 23 06:13:15 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.