old SourceSafe us开发者_运维问答er here, having to switch to SVN. So, one of the projects in the trunk always says "Tree Conflict". I haven't done any work in it (or at least nothing I need to keep). I just want to "Get" exactly what's in the Repository for it. Deleting the folder and updating doesn't seem to do the trick. This should be simple; I don't care about what I have in the folder, I just want what's in the Repository. How do I "Get" (in VSS terms) a project from SVN?
svn checkout
I recommend using a client like TortoiseSVN as well.
Tree conflicts usually occur when a file has been moved/deleted without using the SVN command to do so. However, there should never be a conflict when doing a fresh checkout into a new folder. Make sure the folder doesn't have any svn information attached to it by displaying "hidden" files and folders in your file explorer. You can try deleting the .svn folders if they exist or make a new checkout location in a directory that has no .svn files.
精彩评论