SVN optimizations to keep large repositories responsive

后端 未结 3 1351
南方客
南方客 2021-01-06 19:27

We happily use SVN for SCM at work. Currently I\'ve got our binary assets in the same SVN repository as our code. SVN supports very large files (it transmits them \'stream

3条回答
  •  广开言路
    2021-01-06 19:58

    probably the best answer you're going to get is to put your binary files into a separate directory and use the Spare Directory features to manage them - ie do not check out the files until you need them. Then all operations will occur on the source files and not the binaries.

    Alternatively, you can use the same mechanism to commit or update - instead of updating your Working copy, you can use 'update to revision', and specify HEAD and a reduced depth, so the binary directory doesn't get updated (until you need to).

    You can also 'svnadmin pack' your repos, which will improve server-side performance.

提交回复
热议问题