6

I am working on several projects in different subversion repositories using tortoise. How do I save the credentials for all my projects so I don't have to enter username/password everytime? If I save the credentials, only the latest credentials are saved, forcing me to clear the cache before using tortoise on another project.

thanks Thomas

sergionni
  • 13,290
  • 42
  • 132
  • 189
ThomasD
  • 2,464
  • 6
  • 40
  • 56

4 Answers4

6

I also use XP-Dev with more than one login and had the same issue.

I used the following svn command line to do the initial checkout:

svn checkout http://xp-dev.com/svn/ProjectName  c:\dev\projectfolder --username myusername --password mypassword

This checked out the project and the credentials were saved so that Tortoise SVN worked following this.

paulsa
  • 89
  • 1
  • 5
2

The credentials are saved for every authentication realm string. If you want to use different auth data for different repositories, include the repository name in the realm string of your server.

Stefan
  • 43,293
  • 10
  • 75
  • 117
  • Hi Stefan. Thank you for your answer. I am not very familiar with the details of subversion and tortoisesvn. How do I do what you propose? Thanks – ThomasD Mar 25 '11 at 06:59
  • the realm string is set and configured on the server, in its config file. – Stefan Mar 25 '11 at 11:00
  • I don't have access to the server as such, since the repositories are hosted at xp-dev.com. I only have access to the repositories – ThomasD Mar 25 '11 at 21:42
  • In that case you have to ask the guys at xp-dev.com to configure the realm string properly. – Stefan Mar 26 '11 at 17:19
1

Go in TortoiseSVN -> Settings-> Store Data Click the clear button. Than I will ask you login on each push

See the image

Shafique
  • 13
  • 3
0

Workaround if you have only 2 credentials: for 1 of them, replace the address xp-dev.com with its IP address so that from SVN Tortoise point of view, there are 2 distinct servers.