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

Re: Username Change in SVN

From: Dzintars Brikis <dzintars.brikis_at_mebius.lv>
Date: Thu, 26 Jun 2008 14:49:30 +0300

Lutz Dornbusch wrote:

> Dzintars Brikis wrote:
>
>> Hi!
>>
>> Is it possible to change usernames in SVN?
>>
>> Best regards,
>> Dzintars Brikis
>> Mebius IT
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>
> Hi Dzintars,
> what do you men by "change usernames"?
> - changing the usernames in commited revisions?
> use "svn propset --revprop svn:author"
>
> - use username / passwords for svn commands like svn co/ci ..
> use the --username switch to provide a different username. Note
> that this username will be stored into your .subversion home
> directory, so svn will remember this last name. add --no-auth-cache to
> avoid this
>
> Greetings,
> Lutz

Hi Lutz!

Regarding "changing the usernames in commited revisions":
1. Is the exact command "svn propset svn:author --revprop -r xxx
new-author-name filespec" ? or do you mean something else with "svn
propset --revprop svn:author" ?
2. So I can change only if I specify http link in this command or path
to file from check-outed repository..... and there is no other way how
to change this name ?
3. Also could you provide example for how to show and then replace
usernames to some specific file for all revisions, if the old username
would be a.smith ; the new username would be alexander.smith and target
file would be lets say at such path: /svn/project1/file.pls ? ... so -
what should be the propset command for such situation and how (with what
syntax) to see that author has changed for specific revision.

Dzintars

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-26 15:32:09 CEST

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.