Ignore a folder during SVN updates

前端 未结 5 981
轻奢々
轻奢々 2021-01-30 16:41

If I svn:ignore a really big folder will it improve performance during SVN updates?

I have this really massive (>600MB) folder in my project. The files in this folder sh

5条回答
  •  长发绾君心
    2021-01-30 17:35

    svn file structure:
    trunk
    |___ folder1
    |___ folder2
    |___ folder3
    |___ other_folder
    
    

    first when checkout , use immediates , only checkout first level folder and files :

    • svn co svn://svn-xxxx.com/svn/develop/trunk --depth immediates trunk,

    then , set some folder for update later:

    • cd trunk
    • svn up folder1 folder2 folder3 --set-depth infinity

    ok, now noly folder 123 will be able to update, and other first level folder still remain in the trunk folder

提交回复
热议问题