why does has_same_location check the class?

Ian Clatworthy ian.clatworthy at internode.on.net
Wed Aug 29 03:08:47 BST 2007


Martin Pool wrote:
>
> Also, at the moment Repository, Branch, WorkingTree are all subclasses
> of object.  There is some common behaviour between them that could
> usefully be split into a base class, maybe called "Component" (of a
> BzrDir).  Any comments, objections, or better names?
> 

Maybe ControlComponent? Not sure if that's good enough but I'm sure that
Component is too general. (The Java world is still suffering from some
overly generic names like this being used in the earliest versions of AWT.)

Ian C.



More information about the bazaar mailing list