public CheckinOptions BuildCommitSpecificCheckinOptions(CheckinOptions sourceCheckinOptions, string commitMessage) { var customCheckinOptions = sourceCheckinOptions.Clone(_globals); customCheckinOptions.CheckinComment = commitMessage; customCheckinOptions.ProcessWorkItemCommands(); customCheckinOptions.ProcessCheckinNoteCommands(); customCheckinOptions.ProcessForceCommand(); return customCheckinOptions; }