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

RE: Changing the svn:author in a subversion dumpfile

From: Leon Oosterwijk <leono_at_daveramsey.com>
Date: 2006-09-01 20:29:51 CEST

All,

> -----Original Message-----
> Yes, it does. It's stored as part of a serialized hash
> table, which includes the length as part of the value.
> Personally, when I need to rename authors in a dumpfile I
> used a slightly hacked version of svndumptool.py, it didn't
> take too much effort to teach it how to swap authors.
>
> -garrett

I didn't know about svndumptool.py. It looks very useful. Would you
consider sharing the changes you made to swap authors?

> Regardless, were you aware that you can change the author
> once the repository is loaded?
>
> svn propset -R n svn:author leon url://server/repos
>
 
I thought about doing it this way, but wasn't sure of a good way to get
all the revisions made by one author. I suppose I could loop over all
revisions and check the author. If it is one I need to change, then
issue the propset.

Thanks,

Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 1 20:31:28 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.