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

Re: change users in repository

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Sat, 31 Jan 2009 20:46:55 -0600

On Jan 29, 2009, at 18:54, Brian Harris wrote:

> On Thu, Jan 29, 2009 at 5:43 PM, Brian Harris <medotin_at_gmail.com>
> wrote:
>> Our svn 1.5 repo is filled with commits by usernames with
>> @DOMAIN.COM appended on the end -- this is because the apache
>> configuration we were using assigned these username suffixes. We
>> are switching to a different authentication method that will not
>> have @DOMAIN.COM on the end of the usernames, so I'd like to
>> retroactively remove this suffix from the historical commits so we
>> won't have multiple usernames for the same person, IE change all
>> 'joe_at_DOMAIN.COM' usernames on historical commits to 'joe'.
>> Is this possible?
> Suggestions still welcome, but it looks like I can do this with svn
> dump and sed.

I recommend the non-invasive method recommended by Daniel: just set
the property using svn propset --revprop -r svn:author NEWAUTHOR.

However, for anyone reading the archives wanting to modify a
dumpfile: don't edit it with sed; edit it with a program that knows
the intricacies of the dump format, such as svndumptool.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-01 03:47:59 CET

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.