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

Re: Rewriting the svn:author revprop at commit time

From: Kyle George <kgeorge_at_tcpsoft.com>
Date: Tue, 18 Mar 2008 00:13:10 -0400 (EDT)

On Thu, 6 Mar 2008, Jonathan Ashley wrote:

> Hi, I wonder if anyone could help me answer a question about rewriting the
> svn:author revision property?
>
> I have a large number of users who authenticate with sensible logins like
> 'bert.jones', and who leave nice readable audit trails in the svn log.
>
> For reasons that I can't do much about, I have a small number of users who
> authenticate with annoying alphanumeric logins like 'xyzzy42'. These users
> leave audit trails that are not so easy to read.
>
> I would _like_ to rewrite the svn:author revision property at commit time,
> to convert the annoying names into sensible ones.
>
> Can this be done safely from a post-commit hook? That is, I would use
> 'svnlook propget repo -r XXX --revprop svn:author' to examine the
> svn:author property, then do an 'svn ps -r XXX --revprop svn:author NEWNAME'
> to rewrite it if it is one of the annoying ones.

http://svn.haxx.se/dev/archive-2007-04/0741.shtml

-- 
Kyle George
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-18 05:13:49 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.