SVN checkout ignore folder

前端 未结 10 1800
孤城傲影
孤城傲影 2020-11-30 17:52

Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server.

edit: Ignore externals isn\'t an option. I have

10条回答
  •  佛祖请我去吃肉
    2020-11-30 18:24

    With versions prior to 1.5 I have found that if you checkout only the top most folder and then selectively update, from then on updates only effect what you have checked out. Ie.

    svn co -N foo
    cd foo
    svn up -N bar
    svn up
    

    The -N flag makes the operation non-recursive. The above will not check out anything else at the foo level, eg. say there is a folder lala, the final svn up will not check out that folder, but it will update bar.

    But at a later time you can svn up lala and thus, add it to the checkout.

    Presumably this also works with 1.5.

提交回复
热议问题