dimanche 11 mars 2012 01:44
We want to do some tasks to be executed when performing a merge like labeling the files, and staging those merged files in a specified location..etc. Is there any way to open TFS merge wizard using TFS 2008/2010 API? Please help.
Toutes les réponses
dimanche 11 mars 2012 19:53
No, there is no way to programmatically control the Merge Wizard. But all that the Merge Wizard and "tf merge" do is issue commands to the publicly accessible APIs in the version control client object model. You can perform a merge by using the Workspace.Merge method.
lundi 12 mars 2012 06:12Modérateur
Thanks P. Kelley for your kindly help.
Apart from P. Kelley's reply, please take a look at this link to see if it helps you:
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
- Marqué comme réponse Jagadeesh Urivinty mercredi 14 mars 2012 23:49
mercredi 14 mars 2012 23:49
Vicky and Kelley,
Thank you for the responses. That is right, we can use workspce.merge method, but it would be nice to have all other features we have in Merge wizard like selecting change sets we want to merge. That Smart Merge tool looks very interesting and hopefully that will covers what we are trying to do. I will try that out, thanks you for the valuable suggestions.