I have originally checked out separate directories from the SVN repository, using svn co path_to_repository/dir/ dir/ --depth=infinity
. Then I decided to check out the entire repository in the same path, but when I try to update it, it shows errors like Skipped 'dir' -- An obstructing working copy was found
. Is there any way to tell it that it is part of the same repository?
If you has no local modifications in dir
, than it is simple:
dir
to HEAD
dir/.svn
directorysvn co ...
with --force
optionsvn revert dir -R
If you have local modifications, then svn keep them, but here is danger to mix you modifications with difference between dir BASE and checkout HEAD. If you not sure, save you work with svn diff dir > my_work.patch
and restore it later.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With