lshift/diffa — pull request #166 by 0x6e6562 (2012-05-24 22:54:51+00:00)
Title: Nuke unused code in the DomainDifferenceStore

The scope of this patch is to remove a bunch of seemingly dead code:

* `matchEventsOlderThan/2`
* `removeLatestRecordedVersion/1`
* `retrieveEventsSince/2`

Presumably the underlying mechnanisms that these calls used to support have long since been deprecated and they are just hanging around as zombies (potentially because there were existing tests for them).

Having said this, I think the removal of this code highlighted a few bugs in the remaining live code.

I've had to delete some tests and clarify the semantics of some others.