How do you overcome the svn 'out of date' error?

前端 未结 30 2084
鱼传尺愫
鱼传尺愫 2020-12-12 08:51

I\'ve been attempting move a directory structure from one location to another in Subversion, but I get an Item \'*\' is out of date commit error.

I ha

相关标签:
30条回答
  • I just had the same problem in several folders and this is what I did to commit:

    1) In "Team Synchronize" perspective, right click on the folder > Override and Update
    2) Delete the folder again
    3) Commit and be happy

    0 讨论(0)
  • 2020-12-12 09:17

    Error is because you didn't updated that particular file, first update then only you can commit the file.

    0 讨论(0)
  • 2020-12-12 09:19

    Remove your file or your path using before execute the command do a bk of your changes

    sudo rm -r /path/to/dir/
    

    after :

    svn up and commit or delete 
    
    0 讨论(0)
  • 2020-12-12 09:19

    Perform the move directly in the repository.

    0 讨论(0)
  • 2020-12-12 09:19

    This happened when I updated a branch of an earlier release with files from the trunk. I used Windows Explorer to copy folders from my trunk checkout folder, and pasted them into my Eclipse view of the release branch checkout folder. Now Windows Explorer was configured not to show "hidden" files starting with ".", so I was oblivious to all the incorrect .svn files being pasted into my release branch checkout folder. Doh!

    My solution was to blow away the damaged Eclipse project, check it out again, and then copy the new files in more carefully. I also changed Windows to show "hidden" files.

    0 讨论(0)
  • 2020-12-12 09:21

    I manage to solve it by hitting a update button

    0 讨论(0)
提交回复
热议问题