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

Re: How to update repository default author name?

From: Jonathan Paton <unique-f54haq34_at_jpaton.com>
Date: Thu, 05 Nov 2009 00:46:36 +0000

On 04/11/2009 12:12, Simon Large wrote:
> 2009/11/4 Rohit.K<passionate_programmer_at_hotmail.com>:
>> SVN is taking some other name as the default author name. I want to change
>> this default name in such a way that it gets updated to all the revisions
>> inside the repository.
>> I am using SVN subversive client which comes bundled with Aptana Studio PDT
>> plugin. SVN is installed on the local machine in a different partition and I
>> use Windows XP SP2.
> Please address this question to the Subversion or Subversive users
> mailing lists. This mailing list is for questions about TortoiseSVN.
> And before you ask, no TortoiseSVN cannot do this for all revisions in
> a repository.
> Simon
Sorting out the author name for new commits is the main problem. Not
sure how to help there.

It is possible to use TortoiseSVN to edit the author of a commit - if
the edit properties hook script
allows you to. Setting up the hook script is a Subversion question, not
a TortoiseSVN question.

What I can help with is fixing (changing) an author name that is already
in the repository if the
edit properties hook script is in place. All you need to do is use "show
log" on the repository root,
hit "Show All", use the log filter feature to select all revisions with
the author name you want to change,
select them all and right click for "edit author".

After that you'll probably want to remove the hook script again.

WARNING: The author names are not versioned, so if you screw up you
can't get the old names
back. Be careful not to change what you don't want to change. Repository
backup first? Practice
on a test repository first?

NOTE: The old author names will continue to appear in "show log" due to
the log cache. This can be
fixed by using emptying the log cache in TortoiseSVN's settings.

Jonathan Paton


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-05 02:09:29 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.