private void BootStrap(SourceTree sourceTree)
        {
            DialogResult dialogResult = MessageBox.Show(String.Format("Source folder {0} does not exist.\nDo you want to bootstrap?", sourceTree.SourceFolder), "Source Folder Not Found", MessageBoxButtons.YesNo);

            if (dialogResult == DialogResult.Yes)
            {
                sourceTree.Bootstrap();
            }
        }
        //private bool ConfirmCommand(SourceTree sourceTree, Command cmd, string cmdString)
        //    {
        //    if(!Configuration.ConfirmCommand || !cmd.ConfirmCommand)
        //        return true;

        //    System.Windows.Forms.DialogResult dialogResult =
        //        System.Windows.Forms.MessageBox.Show (
        //            String.Format ("{1} {2}{0}{3} {4}{0}{5} {6}{0}{7} {8}{0}{0}{9} {0}",
        //                            System.Environment.NewLine,
        //                            "Configuration:", Configuration.Description,
        //                            "Stream:", sourceTree.Stream,
        //                            "Application:", sourceTree.Application,
        //                            "Command:", cmdString,
        //                            "Proceed?"),
        //                "Command Confirmation",
        //                System.Windows.Forms.MessageBoxButtons.YesNo
        //        );
        //    if(dialogResult == System.Windows.Forms.DialogResult.Yes)
        //        return true;

        //    return false;

        //    }


        private void BootstrapButton_Click(object sender, EventArgs e)
        {
            SourceTree sourceTree = GetSourceTree();

            if (sourceTree == null)
            {
                return;
            }

            if (!sourceTree.Bootstrapped)
            {
                sourceTree.Bootstrap();
            }
        }