I’m using the default Cygwin installation on a Windows 7 machine.
When I try to do a checkout, the svn client resolves the target path incorrectly.
For example, the command:
svn checkout http://subversion:81/svn/project/trunk "/cygdrive/c/Users/LeMe/Desktop/project test"
will start tracing stuff like
Checking out test
A C:\cygdrive\c\Users\LeMe\Desktop\project test\src\
A C:\cygdrive\c\Users\LeMe\Desktop\project test\src\com
...
and will checkout the folder to the exact folder C:\cygdrive\c\Users\LeMe\Desktop\project test\ on my hard drive, instead of following the normal pointer to c in cygwin.
Any ideas how to let the svn client resolve the target path correctly?
I’ve already tried to use quotes, use no spaces, even created a shortcut in the folder C:\cygdrive\ named c point to c:. But no result so far.
Maybe useful:
$ which svn
/cygdrive/c/Program Files/CollabNet/Subversion Client/svn
Don’t use a Windows Subversion install in Cygwin. Run the Cygwin installer, install the “svn” package, and everything should start working properly.
Do beware line-ending issues if you’re planning on using both a Windows Subversion client and the Cygwin one. In particular, expect any files that have
svn:eol-styleset tonativeto cause issues. It’ll all work, but you’ll need to run things throughunix2dosand/ordos2unixon occasion when the system complains at you or reports files have changed when they haven’t.