daleharvey/pouchdb — pull request #133 by jamesmayes (2012-10-01 20:41:27+00:00)
Title: Last seq init fix

There is a last_seq initialization issue that results in improper storage of the sequence as 0. Every other replication it is corrected when the changes api does a full replication (starting in err from 0). If onChange is not called, then last_seq = 0 stands and it quickly overwrites the real value. Rinse, repeat.