четверг, 3 февраля 2011 г.

TFS: To make merge from stablility or build Label to trunk

For example, you have code labelled "Stable_1" in development branch and you need to merge the code to trunk.

string SourceLabel = "Stable_1"
GetStatus status = workspace.Merge
    (DevelopmentPath, TrunkPath,
    null, VersionSpec.ParseSingleSpec( "L" + SourceLabel, null ),
    LockLevel.CheckOut, RecursionType.Full, MergeOptions.None);

Комментариев нет:

Отправить комментарий