Automatically remove Subversion unversioned files

前端 未结 30 3088
感情败类
感情败类 2020-11-28 18:54

Does anybody know a way to recursively remove all files in a working copy that are not under version control? (I need this to get more reliable results in my automatic build

30条回答
  •  [愿得一人]
    2020-11-28 19:01

    Subversion 1.9.0 introduced option to remove unversioned items [1]

    svn cleanup --remove-unversioned
    

    [1] https://subversion.apache.org/docs/release-notes/1.9.html#svn-cleanup-options

提交回复
热议问题