Пример #1
0
        public void CompleteDeserialization(string workingFolder)
        {
            WorkingFolder = workingFolder;
            SubBranches.ForEach(b => b.Value.Repository = this);
            Branches.ForEach(b => b.Value.Repository    = this);

            Commits.Values.ForEach(c =>
            {
                c.Repository = this;
            });
        }
Пример #2
0
 public void AddNewSubBranch(Branch newBranch)
 {
     SubBranches.Add(newBranch);
 }