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

Re: Mapping user names in the log viewer

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-11-02 19:36:33 CET

Fowler, Otto (GE Indust, GE Fanuc) wrote:
>
>
>> -----Original Message-----
>> From: Brad Stiles [mailto:bradstiles@bellsouth.net]
>> Sent: Thursday, November 02, 2006 1:22 PM
>> To: users@tortoisesvn.tigris.org; users@tortoisesvn.tigris.org
>> Subject: Re: Re: Mapping user names in the log viewer
>>
>>>> In order to do this, you need to set up a hook that changes the
>>>> svn:author property on each revision. We do something
>>> Could we add a new custom property like 'friendlyname'? And the set
>>> that up to be set each commit?
>> Presumably. However, I don't think there's a way within TSVN
>> to display that property without actually right-clicking each
>> file/log entry and showing the details. Using the svn:author
>> property automatically displays any changes in the log
>> displays for both TSVN and the Subversion command line client.
>>
>> In addition, you can set TSVN up to show the svn:author
>> property in the file pane of Windows explorer for Subversion
>> working copies. The repo-browser also shows the svn:author property.
>>
>> Brad
>>
>
> Ok, so a approach would be to take SVN - and hook all commits swap the
> author?

I think that would be the best approach here. Then it's something done
on the server and *stays* that way. You won't need a config file mapping
ids to users but you have real usernames stored in the repository, and
won't risk losing the info if you ever lose the map file. Also, you
won't get into troubles if one user ID one day gets assigned to a new user.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Nov 2 19:37:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.