How to have TortoiseSVN always freeze svn:externals for tags

前端 未结 8 1477
春和景丽
春和景丽 2021-02-04 03:06

Is this possible with tortoiseSVN?:

Always freeze svn:externals for tags

the scenario is our trunk will always use the \'HEAD\' revision for externa

8条回答
  •  情书的邮戳
    2021-02-04 03:22

    The recommended best practice is to always use an explicit revision (not HEAD) in externals definitions. From the documentation:

    You should seriously consider using explicit revision numbers in all of your externals definitions. Doing so means that you get to decide when to pull down a different snapshot of external information, and exactly which snapshot to pull. … For software projects, this could be the difference between a successful and a failed build of an older snapshot of your complex codebase.

    To directly answer your question: no, it’s not possible to automatically change the externals definitions when tagging using TortoiseSVN. It will have to be done manually when creating the tag.

提交回复
热议问题