Example #1
0
        public void SetLocals(Dictionary <string, ConfigBranch> branchDictionary)
        {
            var now = DateTimeOffset.Now;

            localConfigBranches = new LocalConfigBranchDictionary(branchDictionary);
            Logger.Trace("SetRemotes {0}", now);
            SaveData(now, true);
        }
Example #2
0
        public void SetLocals(Dictionary <string, ConfigBranch> configBranches, GitBranch[] gitBranches)
        {
            var now = DateTimeOffset.Now;

            localConfigBranches = new LocalConfigBranchDictionary(configBranches);
            localBranches       = gitBranches;
            Logger.Trace("SetLocals {0}", now);
            SaveData(now, true);
        }