public void PublishBugfixBranch()
        {
            try
            {
                Logger.Event("PublishBugfixBranch");
                GitFlowPage.ActiveOutputWindow();
                ShowProgressBar();
                var gf     = new VsGitFlowWrapper(GitFlowPage.ActiveRepoPath, GitFlowPage.OutputWindow);
                var result = gf.PublishBugfix(SelectedBugfix.Name);
                if (!result.Success)
                {
                    Te.ShowErrorNotification(result.CommandOutput);
                }

                HideProgressBar();
                Update();
            }
            catch (Exception ex)
            {
                ShowErrorMessage(ex.ToString());
                Logger.Exception(ex);
            }
        }
Exemplo n.º 2
0
 private void ShowErrorMessage(string message)
 {
     Te.ShowErrorNotification(message);
 }
Exemplo n.º 3
0
 private void ShowErrorMessage(GitFlowCommandResult result)
 {
     Te.ShowErrorNotification(result.CommandOutput);
 }