I’m quite a beginner with version control so I might be doing something very wrong.
I want to be able to access a local repository both in cygwin and in TortoiseSVN (or other Windows app). The trouble is, in cygwin I have to use the
file:///cygdrive/c/... paths while TortoiseSVN needs
file:///c:/....
How can I make these two work together? Can I use some other path/protocol that both understand?
Thanks!
Easy way is to use the
svnserveprogram that comes with Subversion. This should be in Cygwin. All you need to do is start up thesvnserveand usesvn://as the protocol instead offile://.First, you need to modify your repository. You’ll have to edit two files:
svnserve.confandpassed.Next, you start the server:
And, that’s it.
Now, you can do your checkout this way:
This will be the same URL in both cygwin and in Tortoise
WORD ‘O WARNING
There is no guarantee that different subversion clients will produce working directories that will work with other subversion clients.
Fortunately, Tortoise and the standard Subversion command line client seem to be okay. I’ve been able for the last few years to switch between the Subversion command line client and ToroiseSVN. HOWEVER, you do have to make sure that they’re both ether post version 1.7 clients or pre 1.7 clients. If your Cygwin client is version 1.6.7 and your Tortoise client is 1.7.5, you can’t share the working directory. Use the
svn versioncommand to check your Cygwin client, and check the About Box on Tortoise.Again, there’s no guarantee that both clients can share the same working directory, so if there are problems, you are on your own.