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

Re: 'svn log' lost an author name.

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Mon, 03 Mar 2008 15:22:57 +0100

paptimusx wrote:
> I am sorry. At last, I understood the meaning that you were said
> to me. Even at time.
>
> It was a problem when the repository by cvs2svn was converted.
> The property 'svn:author' had come off in a revison on the way.
>
> How can I restore it?
> If it is possible, I do not want to change 'Last Changed Date:'.
>
>
>
> % svn pg "svn:author" --revprop -r6994 http://server/svn/PROJECT
>

The author of a revision is stored in the svn:author revision property,
so the same way as you read it with propget, you can change it with propset.

So:
% svn ps "svn:author" "myname" --revprop -r6994 http://server/svn/PROJECT

In order to change existing revision properties you need to have the
pre-revprop-change hook script installed on the repository. Read this
section of the FAQ to learn how to do that (it's about changing the
svn:log property):
http://subversion.tigris.org/faq.html#change-log-msg

Lieven

---------------------------------------------------------------------
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-03 15:22:57 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.