Note that there are some explanatory texts on larger screens.

plurals
  1. PODelete missing files in SVN when committing snapshots
    primarykey
    data
    text
    <p>I'm moving from StarTeam to SVN, and I've decided to take snapshots of each of our releases. However, I'm experiencing a problem when dealing with files which existed in revision 1 were deleted for revision 2.</p> <p>How do I commit the snapshots when files are missing? </p> <p>I've tried fully deleting the trunk/src/ folder and then replacing it with the new /trunk/src/ folder, but that seems to cause conflicts with missing files. When I svn add" everything, TortoiseSVN seems to detect that the files were missing, and when I commit it seems to attempt to delete the missing files, but it seems to fail. Presumably this is because it's trying to delete directories after deleting the files in that directory?</p> <p>I'm getting the following error:</p> <pre><code>deleting C:\trunk\src\myfile.h // this one's okay deleting C:\trunk\src\res Commit failed (details follow): Directory 'C:\trunk\src\res' is out of date Item '/trunk/src/res' is out of date You have to update your working copy first. </code></pre> <p>What is a solution to this problem? Surely I'm not the first to run into this issue, but I cannot seem to find anything on google or stackoverflow. Some people suggest running a script to do it, but I'm still confused about the process. Do I need to delete my old trunk folder so that the missing files will get removed locally? Or should I diff and delete with a script?</p> <p>Thanks!</p> <p>Old (unclear) post: <a href="https://stackoverflow.com/questions/8569004/migration-to-svn-confused-about-deleting-old-files">Migration to SVN, confused about deleting old files</a></p> <p>Edit: </p> <p>This is going from one snapshot to the next. I'm migrating from a different repository (StarTeam), so I didn't have anything in trunk. I just want to check in all the different snapshots and have the files which were deleted be removed as well. Isn't it a bad idea to tag if I don't have anything in trunk?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload