Using TortoiseSVN from Multiple Computers with an SVN repo on External Hard Drive
With TortoiseSVN, I created a reposit开发者_运维问答ory 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?
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" ?
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.
Why not map the drive as the same letter everywhere?
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.
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.
精彩评论