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.
source share