Missing "***" - obstructing working copy detected

I initially checked out individual directories from the SVN repository using svn co path_to_repository/dir/ dir/ --depth=infinity . Then I decided to check the entire repository in the same way, but when I try to update it, it shows errors like Skipped 'dir' -- An obstructing working copy was found . Is there a way to say that it is part of the same repository?

+6
source share
1 answer

If you don't have local changes to dir , this is simple:

  • Update dir to HEAD
  • Delete the dir/.svn
  • Use svn co ... with the --force option
  • return possible local modifications (possibly if you did not complete # 1 or HEAD was changed after step # 1) with svn revert dir -R

If you have local modifications, then svn will save them, but there is a danger of mixing your changes with the difference between BAS and HEAD. If you are not sure, save your work with svn diff dir > my_work.patch and restore it later.

+4
source

Source: https://habr.com/ru/post/989752/


All Articles