mozilla-services/android-sync — pull request #42 by rnewman (2012-01-27 07:40:38+00:00)
Title: Bug 709348 - equality work.

These patches introduce a layered definition of equality between records, allowing us to write more sane tests and reconciling code.

These patches don't change the existing reconciling code (that will come shortly), but they do expose and fix a data-loss bug when handling deleted records. Test code wasn't checking the visits of a history record, which meant that the data loss was ignored.

Hooray for sane primitives!