Subversion “label” like SourceSafe

前端 未结 8 1893
野趣味
野趣味 2021-01-04 01:15

Is there a way to do something similar to a SourceSafe label in svn? I know of the bransch/tag, but I would like to have a more lightweight way of just setting a name for a

相关标签:
8条回答
  • 2021-01-04 02:00

    That's exactly what tags are for. See Tags on svn-book.

    0 讨论(0)
  • 2021-01-04 02:00

    Though this question has been posted for quite some time and the correct answer of using tags has been presented ( repeatedly :-) I believe that the most useful answers provide not just correct information but well-rounded information: food for thought, insights on going further, etc. I wrote a lengthy article that does just that, newly published as part 6 of my TortoiseSVN and Subversion Cookbook (on Simple-Talk.com). One of the recipes (Moving a tag) even addresses the pertinent question raised by AnT in his/her answer and provides a strong argument for why you should not do it.

    Here is the list of recipes in that chapter to whet your intellectual appetite:

    Managing Labels

    • Labeling the latest revision as a release
    • Labeling an earlier revision as a release
    • Labeling by bits and pieces
    • Moving a tag

    Adjusting your World View with Labels and Revisions

    • Restoring your environment to a labeled revision
    • Restoring your environment to an unlabeled revision
    • Understanding the difference between switch and update
    • Understanding the difference between revert and update
    • Returning to the present from a previous revision
    0 讨论(0)
提交回复
热议问题