简体   繁体   中英

Invalid path in TortoiseSVN error message

When updating my subversion repository using TortoiseSVN I get the following error message:

Path 'C:\\OTMS Rhapsody Model\\trunk\\OTMS_rpy\\C:' is not in the working copy

Clearly the path is invalid as it contains a colon within the folder structure, but why am I getting this error and how do I fix it?

Thanks

The solution was not found by me, but apparently there was a folder or file named "C:\\" in the repository. No one knows how it got there (especially in a folder structure on a Windows machine!) but, once the offending article was deleted, all was right with the world.

I had a similar problem when trying to checkout on Windows. We found that our designer was able to create a file in our SVN with a name like "scss/../css/style.css", but we also don't know how. He was using a Mac when he did this.

We were not able to directly delete the file from SVN on Windows, it was also showing an error. So we had to backup the entire folder content where this file was located and delete the upper folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM