Пример #1
0
 public override void OnEndCommit(ChangeSet changeSet, bool success)
 {
     if (success && widget.PushAfterCommit)
     {
         MercurialService.Push((MercurialRepository)changeSet.Repository);
     }
 }
Пример #2
0
        protected virtual void OnButtonSetDefaultBranchClicked(object sender, System.EventArgs e)
        {
            TreeIter it;

            if (!listBranches.Selection.GetSelected(out it))
            {
                return;
            }
            Branch b = (Branch)storeBranches.GetValue(it, 0);

            MercurialService.SwitchToBranch(repo, b.Name);
            FillBranches();
        }
Пример #3
0
 protected override void Run(object dataItem)
 {
     MercurialService.SwitchToBranch(Repository, (string)dataItem);
 }
Пример #4
0
 protected override void Run()
 {
     MercurialService.Push(Repository);
 }
Пример #5
0
 protected override void Run()
 {
     MercurialService.ShowShelfManager(Repository);
 }
Пример #6
0
 protected override void Run()
 {
     MercurialService.ShowMergeDialog(Repository, true);
 }
Пример #7
0
 protected override void Run()
 {
     MercurialService.ShowConfigurationDialog(Repository);
 }