public override void CreateBranch(string sourcePath, string targetPath, int changesetId, string comment = null)
        {
            var changesetToBranch = new ChangesetVersionSpec(changesetId);
            int branchChangesetId = VersionControl.CreateBranch(sourcePath, targetPath, changesetToBranch);

            if (comment != null)
            {
                Changeset changeset = VersionControl.GetChangeset(branchChangesetId);
                changeset.Comment = comment;
                changeset.Update();
            }
        }
 public ITfsChangeset GetChangeset(int changesetId, GitTfsRemote remote)
 {
     return(BuildTfsChangeset(VersionControl.GetChangeset(changesetId), remote));
 }
 public IChangeset GetChangeset(int changesetId)
 {
     return(_bridge.Wrap <WrapperForChangeset, Changeset>(VersionControl.GetChangeset(changesetId)));
 }