Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion: who am I logged in as?

Tags:

svn

I am working on a collaborative project, and using Subversion on Red Hat Enterprise Linux 3. I would like to know who I am logged in as. Am I logged in as myself or someone else? If I check in my work, what username will be associated with the commit?

I am never prompted for a username or password. When I commit changes, they just get committed under someone else's name. I would like them to be committed under my name.

I tried the "--username" option as described on this page, but it didn't seem to work. I did a commit and it was done under the other user's name. I would like some way of knowing for sure that my changes will be committed under my name before I do the commit.

like image 337
Elias Zamaria Avatar asked May 25 '10 17:05

Elias Zamaria


1 Answers

Hmm. I'm not sure. You could always lock a file, then unlock it. When you lock, it'll tell you who you are.

However, to stop the current username from being cached (ie stored in your runtime config files/registry) then use the --no-auth-cache option.

If that fails too, then you're probably using svn over ssh, and ssh is providing a username. Fix that and you'll be able to start using your own instead.

like image 137
gbjbaanb Avatar answered Sep 30 '22 18:09

gbjbaanb