Example #1
0
 /// <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)
 {
 }
Example #2
0
        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 { };
                }
            }
        }
Example #3
0
 /// <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)
 {
 }
        public override void PostCommit(PostCommitArgs args)
        {
            _issueListView.ClearCheckedWorkItems();

            base.PostCommit(args);
        }