Maxim Zaslavsky
Maxim Zaslavsky

Reputation: 18065

Using TortoiseSVN from Multiple Computers with an SVN repo on External Hard Drive

With TortoiseSVN, I created a repository on my external hard drive, where I store all my code. I purposely chose to put it on an external hard drive so I can use it on multiple computers (take it with me from place to place). However, yesterday, I tried to checkout my code from my repository from a different computer (also running TortoiseSVN), but it gave me errors, due to file path problems (I assume that it's related to the drive having one drive letter for my computer and a different one for the other one, which is, of course, natural). I think I'm just doing something wrong, but how can I fix this?

Upvotes: 2

Views: 2890

Answers (5)

SytS
SytS

Reputation: 1579

You may also encounter issues if the svn clients (in your case, TortoiseSVN) on the various computers are of mismatched versions. Different versions of svn clients can have incompatible workspaces.

Upvotes: 0

Justin C
Justin C

Reputation: 1924

You can always use the relocate function to change where the local copy of your code is looking for it's repository.

This will be a little annoying since you will need to relocate it each time you go to a machine that uses a different path to the external drive.

Upvotes: 1

mrduclaw
mrduclaw

Reputation: 4035

This may not be the most elegant solution, but if you just need the drive letter to be what it was before on that computer can't you just change it back to what it was using Window's "Disk Management Utility" ?

Upvotes: 2

Kyle Trauberman
Kyle Trauberman

Reputation: 25694

I think you're probably right. I've never encountered an SVN repository running on an external hard drive like this. I would recommend hosting your SVN repository on a computer with a svn server running (such as svnserve).

If that is not possible, check out http://beanstalkapp.com for svn hosting.

Upvotes: 2

Fortyrunner
Fortyrunner

Reputation: 12792

Why not map the drive as the same letter everywhere?

Upvotes: 1

Related Questions