Dear Jonathan,
I'm doing it all the time. I'm actually rewirting the svn:log and
svn:eol-style properties but the logic is the same. Of course you will
have a new revision, i.e. you will need to commit again.
Hope this helps
Giulio
>
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
-----Original Message-----
> From: Jonathan Ashley [mailto:jonathan.ashley_at_praxis-his.com]
> Sent: 06 March 2008 10:43
> To: 'users_at_subversion.tigris.org'
> Subject: Rewriting the svn:author revprop at commit time
>
> 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.
>
> regards,
> --
> Jon Ashley
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
---------------------------------------------------------------------
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-06 13:29:50 CET