Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have created a new 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
share|improve this question
1  
is 4146 revision a revision done by you? –  Lazy Badger Mar 21 '12 at 1:39
    
Do you work on Kelly's workstation? –  Lazy Badger Mar 21 '12 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 '12 at 14:59
    
when I say commit, it still get the author as kelly. Not sure why. –  dicaprio Mar 21 '12 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 '12 at 15:03

2 Answers 2

up vote 0 down vote accepted

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.

share|improve this answer

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
share|improve this answer
    
let me try that, thanks for the quick response. –  dicaprio Mar 20 '12 at 19:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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