/// <summary> /// Called just after the changes are committed. /// </summary> /// <remarks>Provider is responsible for any post-commit issue related operations</remarks> public virtual void PostCommit(PostCommitArgs args) { }
private void PostCommit_IssueTracker(PendingCommitState state, SvnCommitResult result) { IAnkhIssueService iService = GetService<IAnkhIssueService>(); if (iService != null) { IssueRepository iRepo = iService.CurrentIssueRepository; if (iRepo != null) { List<Uri> uris = new List<Uri>(); foreach (PendingChange pc in state.Changes) { uris.Add(pc.Uri); } PostCommitArgs pca = new PostCommitArgs(uris.ToArray(), result.Revision, state.LogMessage); try { iRepo.PostCommit(pca); } catch { }; } } }
public override void PostCommit(PostCommitArgs args) { _issueListView.ClearCheckedWorkItems(); base.PostCommit(args); }