On Tue, 2010-09-14 at 12:14 -0700, John Admanski wrote:
> One alternative would be to make InstallableGitRepo a subclass of
> GitRepo, using inheritance instead of delegation. But I'm not sure
> that's ideal; the behavior is a lot more obvious with explicit
> delegation, instead of using multiple inheritance.

Yes, I wanted to avoid multiple inheritance in this case, that's why I
used explicit delegation. The original class mixed up the concept of
'InstallableObject' with the actual version control code, so I thought
this would be the most sensible way to handle things.

> -- John



_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to