How to update repository default author name?

1,237 views
Skip to first unread message

Rohit.K

unread,
Nov 3, 2009, 10:11:06 PM11/3/09
to us...@tortoisesvn.tigris.org
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.

................
Rohit Prakash


New Windows 7: Simplify what you do everyday. Find the right PC for you.

Simon Large

unread,
Nov 4, 2009, 7:12:25 AM11/4/09
to us...@tortoisesvn.tigris.org
2009/11/4 Rohit.K <passionate...@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

--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2414386

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Jonathan Paton

unread,
Nov 4, 2009, 7:46:36 PM11/4/09
to us...@tortoisesvn.tigris.org
On 04/11/2009 12:12, Simon Large wrote:
> 2009/11/4 Rohit.K<passionate...@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

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2414561

Simon Large

unread,
Nov 5, 2009, 4:18:35 AM11/5/09
to us...@tortoisesvn.tigris.org
2009/11/5 Jonathan Paton <unique-...@jpaton.com>:

> On 04/11/2009 12:12, Simon Large wrote:
>> 2009/11/4 Rohit.K<passionate...@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.
>
> 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".

Ooh, I had forgotten about that one. Thanks for picking it up, Jonathan.

Simon

--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2414645

Reply all
Reply to author
Forward
0 new messages