Shortly speaking. After profiling, this command takes 0.1% of the processing
var ChangesetList = TFSConnection.GetInstance().GetVersionControl().QueryHistory (Path, VersionSpec.Latest,0, RecursionType.Full, "", null, VersionSpec.Latest, Int32.MaxValue,true, false);
This one, 65.7%. (funny thing, all processing inside consumes only 3%)
foreach (Changeset changeset in ChangesetList)
It takes a few seconds until I get my list ... What is happening? Why is this so repeated on the list so slowly?
Is there a faster way to do this?
Edit: Also, why can't I convert it directly to List<Changeset> ?
source share