0

I have created a new Subversion (svn) branch and imported unversioned files and checkin, however I notice when I do svn log, I still see the author as the person who owned the trunk and left the company.

How do I change the "Author" to have my names for the files I'm checking in?

Here is how it looks like. My name is Dan:

    r4146 | kelly | 2012-03-20 14:17:16 -0400 (Tue, 20 Mar 2012) | 1 line
    
    dan14: Correct hardcoded path
10
  • 1
    is 4146 revision a revision done by you? Mar 21, 2012 at 1:39
  • Do you work on Kelly's workstation? Mar 21, 2012 at 1:40
  • Good point; No , here is how it is . we all logon to unix with our user and then do a sudo <common user> and work here and check-in.
    – dicaprio
    Mar 21, 2012 at 14:59
  • when I say commit, it still get the author as kelly. Not sure why.
    – dicaprio
    Mar 21, 2012 at 15:01
  • Yes 4146 revision is acutally done by me and you could see it still shows "kelly". I just did svn commit -m "dan14: Correct hardcoded path" <filename>.
    – dicaprio
    Mar 21, 2012 at 15:03

2 Answers 2

0

Did a google a bit and found a link which helps resolve the problem Setting SVN Author

Comments from @Lazy Badger Yes, and future commits perform with --username USER --password PASS options added.

-1

This is because you copied the revision history along with it. That's the normal behaviour. If you want to get rid of the revision history and only see the last, or last few revisions, which you made, then play around with the "-r" option. If you never did a commit then first do a commit and then do a copy from that revision:

-r [--revision] ARG      : ARG (some commands also take ARG1:ARG2 range)
                            A revision argument can be one of:
                             NUMBER       revision number
                             '{' DATE '}' revision at start of the date
                             'HEAD'       latest in repository
                             'BASE'       base rev of item's working copy
                             'COMMITTED'  last commit at or before BASE
                             'PREV'       revision just before COMMITTED
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .