Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a WC of an SVN repository. I checked it out a long time ago and I don't remember what was the username and password I used. Now, I want to check out the same repository on a different box and I fail to recall what username/password I should use.

Is there a way I can retrieve this information, or should I contact my administrator?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you made the last check in before you checked it out, try svn info when inside the dir or svn info [filename] or svn log [filename] on a file you know you edited.

share|improve this answer
    
In the output of svn info in the working copy I can see my username - is this the one used for the checking out as well? What about the password? –  Dror Aug 24 '11 at 7:59
    
username is the one used at time of check-in, not out. password is a little harder (as in i know when you check out it usually asks if you want to store the password unencrypted on the system, but i've no idea where it dumps that. prolly somewhere in the .svn dir inside the working checkout dir). –  Sirex Aug 24 '11 at 8:02
    
after some poking about, try your home dir/subversion/auth/svn-simple/ –  Sirex Aug 24 '11 at 8:04
1  
I visited svn.simple but found nothing. In my second visit there, I realized that my password was saved in the keychain (I'm using MAC OS X). There I could find it! svn info helps, indeed, finding the username in use. –  Dror Aug 24 '11 at 8:15
    
i guess it depends on the authentication type used (theres a few other dirs in the auth dir). On my system it was in svn.simple. Oh wells :) –  Sirex Aug 24 '11 at 8:21

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.