How to change the stored credentials for a subversion repository in Eclipse (using Subclipse)
Subclipse is a wonderfull tool that helps a bunch when working with eclipse on a svn repo. However there are annoyances. This one i lost an hour on today.
Imagine that you have a friend that starts working on your machine and checks out a project. While he's working he doesn't want to provide credentials on every commit so he checks the save-pass checkbox. Now you have a project on which all commits get done as his user. Now you want to continue working on the project after he's gone. But you don't want to assume his identity. You need to remove/change the stored credentials. And if possible you don't want to do it with a nice button or option in the menu... Don't get your hopes up :/
So you try:
- fiddling with the properties of the project -> no luck
- fiddling with the properties of the location in the repository explorer -> no luck
- deleting the repository and recreating it
- deleting the project and recreating it
- combinations of 3 and 4 laced with power cycles -> no luck
Another problem you're experiencing is that subclipse uses JavaHL or SVNKit for the connection. These adapters are conveniently storing credentials for you. Subclipse doesn't care and doesn't provide an interface to influence this.
If you don't want to look for the config files and "fix" it from the comfort of eclipse. You can around this by just switching interfaces from Window->Preferences->Team->SVN
(Otherwise just go on and fiddle with the authentication files as described in the link)
Well, how's that for a bit of useless information?
No comments:
Post a Comment