So I am comparing 2 different versions of a TreeEntry at the same path in my repository, and the equality test returns True even though they have different OIDs. Just pointing it out, it wasn't hard to find but it seems counter intuitive to me.
(Pdb) (item1.oid, item2.oid)
(d21644a6c7570de018ea623d37732b8e549218ec, c9f6f5428e80fb5d3954ccf0ae2ca24c1c999f53)
(Pdb) (item1.name, item2.name)
('tx', 'tx')
(Pdb) item1 == item2
True
Otherwise, thanks for the great lib!
So I am comparing 2 different versions of a TreeEntry at the same path in my repository, and the equality test returns True even though they have different OIDs. Just pointing it out, it wasn't hard to find but it seems counter intuitive to me.
Otherwise, thanks for the great lib!