how to restore a locally deleted folder?

后端 未结 5 1947
温柔的废话
温柔的废话 2020-12-24 07:27

Locally deleting a file followed by svn update restores the local copy of that file. However this does not seem to apply to folders. Is there any way to make it work for fol

5条回答
  •  孤独总比滥情好
    2020-12-24 07:59

    I ran into this problem today with svn 1.5.6. svn up --force the_dir_path fixed it for me.

    To recreate:

    $ svn up
    Updated to revision X.
    $ rm -rf the_dir_path
    $ svn up
    D the_dir_path
    Updated to revision X.
    $ svn up
    Updated to revision X.
    $ svn up --force the_dir_path
    A ....
    A ....
    Updated to revision X.
    

提交回复
热议问题