Search code examples
svnpathcygwin

issuse about cygwin and ms-dos style path


In cygwin environment, I exec the svn info "D:\tmpsvn\code.txt" command.

It has some warnings:

cygwin warning: MS-DOS style path detected: /cygdrive/d/tmpsvn/D:\tmpsvn\code.txt Preferred POSIX equivalent is: /cygdrive/d/tmpsvn/D:/tmpsvn/code.txt CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames svn: warning: W155010: The node '/cygdrive/d/tmpsvn/D:\tmpsvn\code.txt' was not found.

Why the path is translated into /cygdrive/d/tmpsvn/D:\tmpsvn\code.txt?

How can I exec the command correctly?


Solution

  • Don't use svn provided by cygwin. Download a command line version svn, and this will be ok.