Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

UndoPendingChanges Method

$
0
0

Hi friends,

I'm writing a powershell tool that will undo all pending changes at a specified source control target and the only method I see to call is Repository4.UndoPendingChanges Method- but this appears to be a server-side call at Microsoft.TeamFoundation.VersionControl.Server.

Reaching out to the community to provide alternative approaches which does not include the loading of TF command line into powershell. Or if there is a dev kit or something like which contains all the TFS (servernot client) assemblies that I can load into the GAC. 

The query pending changes piece is already done- looking to loop through these results and undo.

Regards


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>