Exemple #1
0
        public void SetRemotes(Dictionary <string, ConfigRemote> remoteDictionary, Dictionary <string, Dictionary <string, ConfigBranch> > branchDictionary)
        {
            var now = DateTimeOffset.Now;

            configRemotes        = new ConfigRemoteDictionary(remoteDictionary);
            remoteConfigBranches = new RemoteConfigBranchDictionary(branchDictionary);
            Logger.Trace("SetRemotes {0}", now);
            SaveData(now, true);
        }
Exemple #2
0
        public void SetRemotes(Dictionary <string, ConfigRemote> remoteConfigs, Dictionary <string, Dictionary <string, ConfigBranch> > configBranches, GitRemote[] gitRemotes, GitBranch[] gitBranches)
        {
            var now = DateTimeOffset.Now;

            configRemotes        = new ConfigRemoteDictionary(remoteConfigs);
            remoteConfigBranches = new RemoteConfigBranchDictionary(configBranches);
            remotes        = gitRemotes;
            remoteBranches = gitBranches;
            SaveData(now, true);
        }