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

Re: Username Change in SVN

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Thu, 26 Jun 2008 15:06:40 -0700

On Tue, Jun 10, 2008 at 5:29 AM, Dzintars Brikis
<dzintars.brikis_at_mebius.lv> wrote:
> Hi!
>
> Is it possible to change usernames in SVN?
>
> Best regards,
> Dzintars Brikis
> Mebius IT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

Just an FYI, if you need to change a lot of svn:author entries, you
can use svndumptool (the python version):

svnadmin dump path/to/my/repo > repo.dump

svndumptool transform-revprop svn:author originalregexp newvalue
repo.dump newrepo.dump

NOTE: originalregexp is a regular expression, so it will match in the
middle of strings, use "^original$" to anchor it if needed. NOTE TO
NOTE: use ^^ on windows because ^ is magic on the command line.

Then load newrepo.dump (and move the hooks/ and conf/ from the other repo).

- Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-27 00:07:03 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.