[MERGE] Add __eq__ and __ne__ methods to Repository objects

Andrew Bennetts andrew at canonical.com
Tue Aug 7 06:02:45 BST 2007


Aaron Bentley wrote:
> Andrew Bennetts wrote:
[...]
> > 
> > Yeah, it's hard thinking of a good name.  The precise concept is really "is
> > stored at the same URL", which is a bit verbose to squeeze into a method name.
> > I think isSameLocation (or a variation on the phrase "same location", e.g.
> > at_same_location_as?) is about as good as we'll get :/
> 
> Funny, I just wrote a patch like this at the cottage.  My version was
> called Repository.has_same_location.

That sounds good enough to me.  I'll use that, thanks!

-Andrew.




More information about the bazaar mailing list