Exemple #1
0
        private void LoadBranchesFromConfig()
        {
            Logger.Trace("LoadBranchesFromConfig");

            var branches = new Dictionary <string, ConfigBranch>();

            LoadBranchesFromConfig(branches, repositoryPaths.BranchesPath, config.GetBranches().Where(x => x.IsTracking), "");

            Logger.Trace("OnLocalBranchListUpdated {0} branches", branches.Count);
            OnLocalBranchListUpdated?.Invoke(branches);
        }
Exemple #2
0
 public void Reset()
 {
     OnIsBusy.Reset();
     OnIsNotBusy.Reset();
     OnStatusUpdated.Reset();
     OnLocksUpdated.Reset();
     OnCurrentBranchAndRemoteUpdated.Reset();
     OnHeadUpdated.Reset();
     OnLocalBranchListUpdated.Reset();
     OnRemoteBranchListUpdated.Reset();
     OnLocalBranchUpdated.Reset();
     OnLocalBranchAdded.Reset();
     OnLocalBranchRemoved.Reset();
     OnRemoteBranchAdded.Reset();
     OnRemoteBranchRemoved.Reset();
 }