internal Change(Repository aRepository, Branch aBranch)
{
iRepository = aRepository;
iBranch = aBranch;
iParents = new List<IBranch>();
iParents.Add(iBranch);
iWritten = false;
if (iBranch.IsEmpty)
{
iRoot = new TreeModifiable(iRepository, iBranch.Commit.Tree);
}
else
{
iRoot = new TreeModifiable(iRepository, null);
}
}