baseless-merge

Baseless merge for multiple non-consecutive changesets

痞子三分冷 提交于 2019-12-10 15:58:16
问题 I'm issuing the following command to TFS: >tf merge /baseless c:\ws\source c:\ws\target /recursive /version:C100~C100 But I have a large list of changesets that need to be merged. Is there a shortcut for this, or some way to specify a list, for example: >tf merge /baseless c:\ws\source c:\ws\target /recursive /version:C100,C108,C110,C800,C1001,etc... 回答1: If powershell is an option, below script should help (not tested!): $cslist = 1,23,45,456,568 #list of all changesets foreach ($cs in