2

I want to set my full name (or a name chosen by me) to appears in the $Id$ area on commit and not my nickname. Is there a way to do it?

OS: Ubuntu 8.10

1
  • Do you have access to hooks directory on the repository server?
    – m_vitaly
    Jun 25, 2009 at 5:09

4 Answers 4

3

You want a file with your name on it and then

svn propset svn:keywords "Author" file.txt

As seen in http ://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

$Id$ is a combination of Revision Number, Date, Author and URL.

1
  • Sorry my english is not the best, i will try to explain my problem again: When I use svn propset svn:keywords "Id" file.txt then i get something like: $Id: tagging.phtml 3189 2009-05-31 13:33:58Z sirakov $ But I want to put "firstname.lastname" (not my nickname "sirakov") every time when i commit someting new. I hope, you can now understand what i mean.
    – cupakob
    Jun 1, 2009 at 6:13
2

You could, if the repository allows it, change the author. I would recommend not to do so though, because you'll have to do this after each commit.

Can't you just change your login name?

1
  • i can't change it, the nickname is generated automatically from my email, which i used to join the developer group.
    – cupakob
    Jun 2, 2009 at 18:17
0

there is no way to set it :(

1
  • That's not true, you can set the property Dec 17, 2009 at 14:20
0

Assuming you have permissions to do this, I'm told you can do it with the command

svn ps svn:author "author_name" --revprop -r revision_number "repository_url"

If you get an error, you'll need to add pre/post propset hooks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.